ResultCallback
Last updated
Was this helpful?
Last updated
Was this helpful?
ResultCallback<Value, Payload>
Represents a callback function with parameters, the that has been checked, the of this check, and an optional .
Value
=
any
A generic type variable Value
determines parameter type, by default .
Payload
=
object
Generic type variable Payload
indicates parameter type, by default .
result: boolean
The check result of a type of the given .
value: Value
payload?: Payload
The value of the generic type variable to check and which the given check applies.
An optional of a generic type variable to provide more data.
The return value is a indicating the check result of the given .