• Traister101@lemmy.today
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    Right cause the boolean isn’t a named type. If you have two possible states that can be represented with a boolean, or an enum of the two possible states which embeds more info into the callsite