Deno.AtomicOperation.prototype.sum - Deno documentation
method Deno.AtomicOperation.prototype.sum
AtomicOperation.prototype.sum(
key: KvKey,
n: bigint,
): this

Shortcut for creating a sum 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