.is_neg()
A function to test whether the input is a number, and if so, if it has a negative value.
Syntax
#fs.scripts.lib().is_neg(i);
Parameters
i
"i" is the input to be tested.
Return
Returns a boolean.
Example
function(context, args) {
const l = #fs.scripts.lib();
const my_test_input = -1;
return l.is_neg(my_test_input);
}