Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

isNullOrUndefined

determines if the value passed in is null or undefined this is safer than just checking for truthy or falsy because 0, '' are also falsy values.

Presentation

function isNullOrUndefined(value: unknown): boolean;

Returns

boolean -

true if the value is null or undefined

Parameters

NameTypeDescription
value
unknown

the value to check