Checks if a value is undefined
value
undefined
The opposite of isNotUndefined
const result = isUndefined(undefined);console.log(result); // true
const result = isUndefined(0);console.log(result); // false
true if value is undefined, otherwise false
true
false
the value to check
Generated using TypeDoc
Checks if a
valueisundefinedThe opposite of isNotUndefined
Example
Example
Returns
trueifvalueisundefined, otherwisefalse