Typeservicesv0.6.0IsNegativeReturns a boolean for whether the given number is a negative number. See also:Negativetype IsNegative<T extends _Numeric> = T extends Negative<T> ? true : false;type IsNegative<T extends _Numeric> = T extends Negative<T> ? true : false;ExamplesCopyimport type {IsNegative} from 'type-fest'; type ShouldBeFalse = IsNegative<1>; type ShouldBeTrue = IsNegative<-1>; Numericimport type {IsNegative} from 'type-fest'; type ShouldBeFalse = IsNegative<1>; type ShouldBeTrue = IsNegative<-1>; NumericType parametersTT extends _NumericT extends _Numeric