Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/is_what/dist/isNegativeNumber.d.ts>isNegativeNumber

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
Latest
function isNegativeNumber
import { isNegativeNumber } from "https://deno.land/x/is_what@v5.0.2/dist/isNegativeNumber.d.ts";

Returns whether the payload is a negative number (but not 0)

Parameters

payload: unknown

Returns

payload is number