@mikuroxina/mini-fn
    Preparing search index...

    Function absurd

    • Indicates the unreachable code path. Calling this throws an error immediately, so this function should be called only if your application data is not consistent.

      Examples

      Type Parameters

      • T

      Returns T

      expect(() => {
      absurd<number>();
      }).toThrowError("PANIC: absurd must not be called");