isDefined()
Last updated
Was this helpful?
Last updated
Was this helpful?
isDefined()
Checks if value is not an type and is not equal to .
Type
A generic type variable indicates the captured type of the given except , which changes to , via the and the type of the supplied function.
Payload
extends
object
=
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: Type
callback: ResultCallback<Type, Payload>
payload?: Payload
value is Defined<Type>
callback
and payload
The value of a generic type variable , by default of type captured from itself, to check.
A callback function
of type with parameters, the 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 indicating the is a generic type that takes a generic type variable of value by default equal to the type captured from the supplied parameter excepts which changes to .
The return value is a indicating whether the provided is defined, not .