You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
A null value can be used to represent an empty or absent value. It is different from a numerical value of zero (null != 0) and other falsy values (false, zero-length string, empty array or object). It is also known as nil or None in other languages.
Passing non-boolean values to a logical operator is allowed. Any non-boolean operands
will be casted to boolean implicitly by the operator, without making the query abort.
The conversion to a boolean value works as follows:
null will be converted to false
boolean values remain unchanged
all numbers unequal to zero are true, zero is false
an empty string is false, all other strings are true
arrays ([ ]) and objects / documents ({ }) are true, regardless of their contents