# Function: compareBooleanFunc()

> > **compareBooleanFunc**\<`T`\>(): [`Arbitrary`](../classes/Arbitrary.md)\<(`a`, `b`) => `boolean`\>

# Function: compareBooleanFunc()

> **compareBooleanFunc**\<`T`\>(): [`Arbitrary`](../classes/Arbitrary.md)\<(`a`, `b`) => `boolean`\>

Defined in: [packages/fast-check/src/arbitrary/compareBooleanFunc.ts:16](https://github.com/dubzzz/fast-check/blob/4663db899d411b24434189b8e560b5ecefc93f23/packages/fast-check/src/arbitrary/compareBooleanFunc.ts#L16)

For comparison boolean functions

A comparison boolean function returns:
- `true` whenever `a < b`
- `false` otherwise (ie. `a = b` or `a > b`)

## Type Parameters

| Type Parameter |
| ------ |
| `T` |

## Returns

[`Arbitrary`](../classes/Arbitrary.md)\<(`a`, `b`) => `boolean`\>

## Remarks

Since 1.6.0
