Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function isPositiveInteger
import { isPositiveInteger } from "https://deno.land/x/somefn@v0.25.0/ts/number.ts";

判断是否为正整数 (不包含 0)

Parameters

v: unknown