> For the complete documentation index, see [llms.txt](https://type.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://type.angular-package.dev/type-draft/helper/resultcallback.md).

# 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.
