import { type Num } from "https://deno.land/x/rimbu@1.1.0/typical/index.ts";
const { IsNegative } = Num;
Returns true if the given number is negative (< 0), false otherwise.
Examples
Example 1
Example 1
IsNegative<9> => false
IsNegative<0> => false
IsNegative<-5> => true