Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/mod.unstable.ts>NumberDescriptor

The best unofficial library of utilities for Deno applications
Go to Latest
interface NumberDescriptor
Deprecated
Deprecated

Use SafeUnknown instead of validators

import { type NumberDescriptor } from "https://deno.land/x/dtils@2.3.1/mod.unstable.ts";

Properties

type: "number"
optional
min: number
optional
max: number
optional
forbidDecimals: boolean
optional
canBeNaN: boolean