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

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

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

UNSTABLE: New API, yet to be vetted.

An optional versioned pair of key and value in a Deno.Kv.

This is the same as a KvEntry, but the value and versionstamp fields may be null if no value exists for the given key in the KV store.

definition: KvEntry<T> | { key: KvKey; value: null; versionstamp: null; }