Checks whether every provided value of areBigInt() is a bigint type.

The method uses every() method of areDeterminer().


The return value is a boolean indicating whether the provided values of areBigInt() are a bigint type.

Example usage

// Example usage.
import { areBigInt } from '@angular-package/type';

areBigInt(1n, 22n).every((result, value, payload) => {
  result // true
  value /// [1n, 22n]
  payload // undefined
  return result;
}); // true, boolean

Last updated