guardUndefined()
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
The value of an type to guard.
The optional callback of type with parameters, the that has been checked, the result
of this check, and payload
of generic type variable with optional properties from the provided payload
, to handle them before the result
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.
The return value is a indicating whether the is .