Skip to main content
Module

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

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

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

Parameters

payload: unknown

Returns

payload is number