nullishEmpty
Explicitly builds an Left<"nullish"> with null or undefined.
Interactive example
Syntax
typescript
function nullishEmpty<
const GenericInput extends NullishValue = undefined
>(
value?: GenericInput
): NullishEmpty<GenericInput>;Parameters
input:nullorundefined(optional).
Return value
NullishEmpty<GenericInput> allowing you to explicitly signal the absence of a value.
