Checks if the specified value is undefined
.
val
is equal to undefined
.const isUndefined = val => val === undefined;
isUndefined(undefined); // true
Would you like to help us improve 30 seconds of code?Take a quick survey
JavaScript, Type
Checks if the specified value is null
or undefined
.
JavaScript, Type
Checks if the provided value is of the specified type.
JavaScript, Type
Checks if the specified value is null
.