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

x/deno/ext/webidl/internal.d.ts>globalThis.__bootstrap.webidl.IntConverterOpts

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface globalThis.__bootstrap.webidl.IntConverterOpts
implements ValueConverterOpts
import { type globalThis } from "https://deno.land/x/deno@v1.29.1/ext/webidl/internal.d.ts";
const { IntConverterOpts } = globalThis.__bootstrap.webidl;

Properties

optional
enforceRange: boolean

Wether to throw if the number is outside of the acceptable values for this type.

optional
clamp: boolean

Wether to clamp this number to the acceptable values for this type.