Skip to main content
Module

x/value_schema/dist-deno/libs/types.ts>isInteger

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Go to Latest
function isInteger
import { isInteger } from "https://deno.land/x/value_schema@v3.1.2/dist-deno/libs/types.ts";

check whether given value is an integer or not

Parameters

value: number

value to check

Returns

value is number

Yes/No