resultCallback()

resultCallback()

Default function to handle callback parameter of functions.

const resultCallback = (result: boolean): boolean => result;

Parameters

result: boolean

A value of booleanarrow-up-right type of the result of the check.

Returns

The return value is a booleanarrow-up-right of the result of the check.

Last updated