Skip to content

nil

Summary

True if x is nil.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
nil(null);
//=> true
nil(undefined);
//=> true
nil(false);
//=> false
nil(NaN);
//=> false

Parameters

Name Type Description
x ? Any

Return

boolean

AltStyle によって変換されたページ (->オリジナル) /