resultCallback()

resultCallback()

Default function to handle callback parameter of functions.

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

Parameters

result: boolean

A value of boolean type of the result of the check.

Returns

The return value is a boolean of the result of the check.

Last updated