forEach()

areBigInt().forEach()

The forEach() method executes a provided callback function once for each element of the supplied values of areBigInt().

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

Example usage

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

areBigInt(1n, 2, '3').forEach(
  (result, value, index, array, payload) => {
    result // true, false, false
    value // 1n, 2, 3
    index // 0, 1, 2
    array // [ 1n, 2, 3 ]
    payload // undefined
    return result;
  },
  { age: 2 }
);

Last updated