Skip to main content

Function: isNullOrUndefined()

isNullOrUndefined(value: unknown): value is null | undefined

Defined in: src/utils/fallbacks.ts:53

Enhanced null/undefined check utility.

Parametersโ€‹

valueโ€‹

unknown

Value to check.

Returnsโ€‹

value is null | undefined

true when the value is null or undefined; otherwise false.

Remarksโ€‹

Replaces scattered value === null || value === undefined patterns.