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

10 lines
156 B
Plaintext

val .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)