Check whether a Number is positive or not
Number
to check
Boolean
import {N} from 'ts-toolbelt' type test0 = N.IsPositive<'0'> // False type test1 = N.IsPositive<'-7'> // False type test2 = N.IsPositive<'7'> // True
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.
Check whether a
Number
is positive or not