some()

areBigInt().some()

Checks whether some provided values of areBigInt() are a bigint type.

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

Returns

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

Example usage

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

areBigInt(1n, 2, '3').some((result, value, payload) => {
  result // true
  value // [1n, 2, '3']
  payload // undefined
  return result;
});

Last updated