• Type checking test.

    Type Parameters

    • Type

    • Expect

    • Outcome extends Boolean

    Parameters

    • Optional _debug: Type

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

    Example

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

Generated using TypeDoc