@webdeveric/utils
    Preparing search index...
    • Assert that input is an array of bigint.

      Parameters

      • input: unknown
      • error: string | Error = 'input is not an array of bigint'

      Returns asserts input is bigint[]

      assertIsBigIntArray([1n, 2n, 3n]); // does not throw
      assertIsBigIntArray([1, 2, 3]); // throws TypeError: input is not an array of bigint