@yantrix/functions v0.6.0 • Docs
Yantrix API / @yantrix/functions / Predicates / isPositive
Function: isPositive() ​
ts
function isPositive(value): booleanChecks if a number is positive.
Parameters ​
• value: number
The number to check.
Returns ​
boolean
True if the number is positive, otherwise false. Throws if the argument is not a number.