9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function isNullOrUndefined(value: any): boolean;

Defined in: utils/types.d.ts:55

A function that checks if something is not defined (null or undefined).

Parameters ​

ParameterTypeDescription
valueanyThe value which will be checked. Returns true if value is null or undefined.

Returns ​

boolean

Previous
isMainThread