Popular
Latest
import type { Validity } from "../types.ts";import { invalid } from "../utils.ts";import { isNumber } from "./is_number.ts";
export function isInt(value: any): Validity { if (typeof value !== "number" || value % 1 !== 0) { return invalid("isInt", { value }); }}