isType()
Last updated
Was this helpful?
Last updated
Was this helpful?
A generic type variable T
constrained by the generic type indicates the type of parameter via the value is T
and captured type of the generic type of the supplied .
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 type to check against the type of given .
A value of the generic type indicates against which type the provided is checked.
A callback function
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 indicating the is a generic type variable by default equal to the but captured type of the supplied changes it to the class name.
The return value is a indicating whether the provided is a type from a given of the .