Checks if a given type T is Falsy.
T
Falsy
true if T is a subtype of Falsy, otherwise false.
true
false
type Falsy = IsFalsy<''>; // TestFalsy is tru`type Truthy = IsFalsy<10>; // TestTruthy is false Copy
type Falsy = IsFalsy<''>; // TestFalsy is tru`type Truthy = IsFalsy<10>; // TestTruthy is false
Checks if a given type
T
isFalsy
.