Check a type is true
true
Useful with IsEqual, for a strict type check
IsEqual
typeIsTrue<IsEqual<string, string>>()
as alternative to
expectType<TypeEqual<string, string>>(true)`
Check a type is
true
Useful with
IsEqual
, for a strict type checktypeIsTrue<IsEqual<string, string>>()
as alternative to
expectType<TypeEqual<string, string>>(true)`