isNullableEmpty
Type guard that detects an EitherNullableEmpty.
Interactive example
Syntax
typescript
function isNullableEmpty<
GenericInput extends unknown
>(
input: GenericInput
): input is Extract<GenericInput, EitherNullableEmpty>;Parameters
input:Eithercoming fromnullable.
Return value
true if the value is null.
