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

x/dtils/json.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.4.0/json.ts";

Properties

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