Type Alias AssertionGuard<T>

AssertionGuard: (input: unknown) => asserts input is T

Type Parameters

  • T

Type declaration

    • (input: unknown): asserts input is T
    • Parameters

      • input: unknown

      Returns asserts input is T