Null object: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 955: | Line 955: | ||
Null can be compared for directly, using equality operators, or can be checked with the isNull() function. Operators ending with a ? mark propagate null. A null in an expression test is a non-truthy result. |
Null can be compared for directly, using equality operators, or can be checked with the isNull() function. Operators ending with a ? mark propagate null. A null in an expression test is a non-truthy result. |
||
{{works with|langur|0.10}} |
|||
⚫ | |||
Prior to 0.10, multi-variable declaration/assignment would use parentheses around variable names and values. |
|||
⚫ | |||
writeln .x == null |
writeln .x == null |