Skip to main content
Deno.AtomicOperation.prototype.min - Deno documentation
method Deno.AtomicOperation.prototype.min
AtomicOperation.prototype.min(
key: KvKey,
n: bigint,
): this

Shortcut for creating a min mutation. This method wraps n in a Deno.KvU64, so the value of n must be in the range [0, 2^64-1].

Parameters

key: KvKey
n: bigint

Return Type

this