[][src]Function gndr_rust::identify_gender

pub fn identify_gender(gender: String, pronouns: Vec<String>) -> Gndr

Calculates the user's gender using advanced techniques and algorithms.

Determines the gender of a user by fucking asking them.

Returns the gender in a Gndr struct with 100% accuracy. Incredible.

use gndr_rust::*;

fn main() {
    // what is this user's gender and pronouns?
    let gender =  identify_gender("non-binary".to_string(), vec!["he".to_string(), "they".to_string()]);


    gender: "non-binary",
    pronouns: [ "he", "they" ]