none
Why does null is anynonnull = true?! RRS feed

  • Question

  • Hello,

    I'm puzzled over why the following evaluates to true:

    = null is anynonnull // true

    Since type anynonnull "classifies all values excluding null" (from the spec), it seems like the above should return false. However, that's not the case. Why does it return true? :-)

    Thanks,
    Ben

    Friday, August 24, 2018 8:03 PM

Answers

All replies