Null object: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
Line 2,315: | Line 2,315: | ||
It is always easy to test for nullness either by querying a variable's type or checking the value of a boolean expression involving a potentially null variable. |
It is always easy to test for nullness either by querying a variable's type or checking the value of a boolean expression involving a potentially null variable. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">// Declare a variable without giving it an explicit value. |
||
var s |
var s |
||