★ guardFalse()
Last updated
Was this helpful?
Last updated
Was this helpful?
guardFalse()
Guards the provided to be false
.
Code on
Payload
extends
object
The Payload
generic type variable constrained by indicates the type of optional parameter of the supplied function and optional parameter of the function from which it captures its value.
value: false
The value of false
type to guard.
callback?: ResultCallback<false, Payload>
payload?: Payload
value is false
The optional callback of type with parameters, the value
that has been checked, the of this check, and of generic type variable with optional properties from the provided , to handle them before the return. By default, it uses function.
An optional of the generic type variable is assigned to the of the given function.
The return type is a as the result of its statement is false
.
The return value is a indicating whether the is a type or an instance of equal to false
.