isUndefined es-toolkit
Checks if a given value is undefined.
Usage
isUndefined(value)
Use isUndefined when you want to check if a value is undefined. It's useful for checking whether a variable is initialized or whether an optional property exists.
Parameters
valueunknownrequired
The value to check if it's undefined.
Returns
Returns true if the value is undefined, false otherwise.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.