File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,17 @@ assert.strictEqual(util.isBoolean(false), true);
113113assert . strictEqual ( util . isBoolean ( 'string' ) , false ) ;
114114
115115assert . strictEqual ( util . isNull ( null ) , true ) ;
116+ assert . strictEqual ( util . isNull ( undefined ) , false ) ;
116117assert . strictEqual ( util . isNull ( ) , false ) ;
117118assert . strictEqual ( util . isNull ( 'string' ) , false ) ;
118119
120+ assert . strictEqual ( util . isUndefined ( undefined ) , true ) ;
119121assert . strictEqual ( util . isUndefined ( ) , true ) ;
120122assert . strictEqual ( util . isUndefined ( null ) , false ) ;
121123assert . strictEqual ( util . isUndefined ( 'string' ) , false ) ;
122124
123125assert . strictEqual ( util . isNullOrUndefined ( null ) , true ) ;
126+ assert . strictEqual ( util . isNullOrUndefined ( undefined ) , true ) ;
124127assert . strictEqual ( util . isNullOrUndefined ( ) , true ) ;
125128assert . strictEqual ( util . isNullOrUndefined ( 'string' ) , false ) ;
126129
You can’t perform that action at this time.
0 commit comments