Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Null-object/Lasso/null-object.lasso
Normal file
18
Task/Null-object/Lasso/null-object.lasso
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
local(x = string, y = null)
|
||||
#x->isA(::null)
|
||||
// 0 (false)
|
||||
|
||||
#y->isA(::null)
|
||||
// 1 (true)
|
||||
|
||||
#x == null
|
||||
// false
|
||||
|
||||
#y == null
|
||||
//true
|
||||
|
||||
#x->type == 'null'
|
||||
// false
|
||||
|
||||
#y->type == 'null'
|
||||
//true
|
||||
Loading…
Add table
Add a link
Reference in a new issue