Skip to main content
Module

x/abstruct/iter_utils.ts>isPositiveInteger

Abstract structure for JavaScript data validation
Latest
function isPositiveInteger
import { isPositiveInteger } from "https://deno.land/x/abstruct@1.0.0/iter_utils.ts";

Whether the input is positive integer or not.

Parameters

input: number

Returns

boolean