RosettaCodeData/Task/Null-object/Langur/null-object.langur

10 lines
150 B
Plaintext

var x, y = true, null
writeln x == null
writeln y == null
writeln x ==? null
writeln y ==? null
# null not a "truthy" result
writeln if(null: 0; 1)