xdash / isNullish
Function: isNullish()
isNullish(
value
):value is undefined | null
Determines if a value is null or undefined.
Parameters
• value: unknown
value to check
Returns
value is undefined | null
true if the value is a number, false otherwise