Defines a logical negation operator applied to the given TBoolOp. Defines false unit type if T extends true. Defines true unit type if T extends false. Defines TIfTIsBool when T is exactly boolean type.
TBoolOp
false
T extends true
true
T extends false
TIfTIsBool
T
boolean
Boolean type to get negation for.
Resulting type when T is exactly of boolean type.
Defines a logical negation operator applied to the given
TBoolOp
. Definesfalse
unit type ifT extends true
. Definestrue
unit type ifT extends false
. DefinesTIfTIsBool
whenT
is exactlyboolean
type.