Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.28.0/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.