• steventhedev@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    1 day ago

    Clearly your gender field is a boolean. Which means it can be either true, false, null, or undefined. Except in javascript where for some reason it can sometimes be NaN, but only when you try to compare two people.