Function typeIsFalse

  • Check a type is false

    Useful with IsEqual, for a strict type check

    typeIsFalse<IsEqual<string, number>>()

    as alternative to

    expectType<TypeEqual<string, number>>(false)`

    Type Parameters

    • T extends false

    Returns void