add is_undef functionality to boxed_value

This commit is contained in:
Jason Turner
2009-11-08 15:16:15 +00:00
parent 4e5c972e66
commit fe5a935abd
7 changed files with 21 additions and 14 deletions

4
unittests/is_undef.chai Normal file
View File

@@ -0,0 +1,4 @@
var i;
print(i.is_undef());
i = 5;
print(i.is_undef());

2
unittests/is_undef.txt Normal file
View File

@@ -0,0 +1,2 @@
true
false