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

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.KvKey

A modern runtime for JavaScript and TypeScript.
Go to Latest
type alias Deno.KvKey
import { type Deno } from "https://deno.land/x/deno@v1.32.3/cli/tsc/dts/lib.deno.unstable.d.ts";
const { KvKey } = Deno;

UNSTABLE: New API, yet to be vetted.

A key to be persisted in a Deno.Kv. A key is a sequence of Deno.KvKeyParts.

Keys are ordered lexicographically by their parts. The first part is the most significant, and the last part is the least significant. The order of the parts is determined by both the type and the value of the part. The relative significance of the types can be found in documentation for the Deno.KvKeyPart type.

definition: readonly KvKeyPart[]