> For the complete documentation index, see [llms.txt](https://docs.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://docs.angular-package.dev/type/helper/resultcallback.md).

# resultCallback()

## `resultCallback()`

Default function to handle `callback` parameter of functions.

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

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