x/30_seconds_of_typescript/docs/isUndefined.md
Returns true if the specified value is undefined, false otherwise.
true
undefined
false
Use the strict equality operator to check if val is equal to undefined.
val
const isUndefined = (val) => val === undefined;
isUndefined(undefined); // true