isBoolFalsy
Type guard that detects an EitherBoolFalsy.
Interactive example
Syntax
typescript
function isBoolFalsy<
GenericInput extends unknown>(
input: GenericInput
): input is Extract<GenericInput, EitherBoolFalsy>;Parameters
input: Value coming from the boolean helpers.
Return value
true if the value is falsy (Left).
