Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>IDBKeyRange

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface IDBKeyRange
import { type IDBKeyRange } from "https://deno.land/x/windmill@v1.298.0/node_modules/evt/lib/types/lib.dom.d.ts";

A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:

Properties

readonly
lower: any

Returns lower bound, or undefined if none.

readonly
lowerOpen: boolean

Returns true if the lower open flag is set, and false otherwise.

readonly
upper: any

Returns upper bound, or undefined if none.

readonly
upperOpen: boolean

Returns true if the upper open flag is set, and false otherwise.

Methods

includes(key: any): boolean

Returns true if key is included in the range, and false otherwise.