# resultCallback()

## `resultCallback()`

Default function to handle `callback` parameter of functions.

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

{% embed url="<https://github.com/angular-package/type/blob/main/src/lib/result-callback.func.ts>" %}

### Parameters

#### `result: boolean`

A value of [`boolean`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) type of the result of the check.

### Returns

The **return value** is a [`boolean`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) of the result of the check.
