@webdeveric/utils
    Preparing search index...
    • Assert that input is undefined.

      Parameters

      • input: unknown
      • error: string | Error = 'input is not undefined'

      Returns asserts input is undefined

      assertIsUndefined(undefined); // does not throw
      assertIsUndefined(null); // throws TypeError: input is not undefined