> 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/are/arebigint.md).

# areBigInt()

## `areBigInt()`

Checks whether the values are a [`bigint`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) type by using [`every()`](/type/are/arebigint/every.md), [`forEach()`](/type/are/arebigint/foreach.md) and [`some()`](/type/are/arebigint/some.md) methods of the returned object.

{% code title="are-bigint.func.ts" %}

```typescript
const areBigInt = <CommonPayload extends object>(...values: any[]) =>
  areDeterminer<CommonPayload>(isBigInt, ...values);
```

{% endcode %}

### Generic type variables

#### <mark style="color:green;">**`CommonPayload`**</mark>**`extends`**<mark style="color:green;">**`object`**</mark>

The `CommonPayload` generic type variable constrained by the [`object`](https://www.typescriptlang.org/docs/handbook/basic-types.html#object) constrains the generic type variable `Payload` of each returned method.

### Parameters

#### `...values: any[]`

A rest parameter of [`any`](https://www.typescriptlang.org/docs/handbook/basic-types.html#any) type to check its elements against a [`bigint`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) type.

### Returns

The **return value** is an [`object`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) of [`every()`](/type/are/arebigint/every.md), [`some()`](/type/are/arebigint/some.md) and [`forEach()`](/type/are/arebigint/foreach.md) as methods of checking supplied [`values`](#...values-any).
