• jj4211@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    In context, one can consider it a bool.

    Besides, I see c code all the time that treats pointers as bool for the purposes of an if statement. !pointer is very common and no one thinks that means pointer it’s exclusively a Boolean concept.