CCValue isNull check

This line:

It checks this->isNull() and returns true, shouldn’t it check that the other value is also null.

Thanks,
Juan

It actually is subtly checking if both are null. The 2nd test confirms the two Values have the same type and by the time isNull is checked and found to be true that means both are null w/type of NONE.

1 Like