Documentation
    Preparing search index...

    Function check

    • Type checking test.

      Type Parameters

      • Type
      • Expect
      • Outcome extends Boolean

      Parameters

      • Optional_debug: Type

      Returns Equals<Equals<Type, Expect>, Outcome>

      checks([
      check<1, number, Pass>(),
      check<'foo', boolean, Fail>(),
      ])