GuardsPrimitive Type Guards
Nullish Type Checkers
Runtime type guards to validate nullish values.
Runtime type guards to validate nullish values (null/undefined).
Imports
import { isNull, isUndefined } from 'toolbox-x/guards';isNull
Validates if a value is null.
Signature
isNull(value: unknown): value is nullExamples
playground.ts
isUndefined
Validates if a value is undefined.
Signature
isUndefined(value: unknown): value is undefinedExamples
playground.ts
Last updated: Sat, Jun 06, 2026 09:29:26AM (UTC)
