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

      Parameters

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

      Returns asserts input is null[]

      assertIsNullArray([null, null]); // does not throw
      assertIsNullArray([null, undefined]); // throws TypeError: input is not an array of null