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

x/casualdb/operator/primitive.ts>PrimitiveOperator#update

Simple JSON "database" for Deno with type-safety! ⚡️
Latest
method PrimitiveOperator.prototype.update
import { PrimitiveOperator } from "https://deno.land/x/casualdb@v0.1.4/operator/primitive.ts";

Type Parameters

optional
T = Op

Parameters

updateMethod: (currentValue: Op) => T

Returns

PrimitiveOperator<ReturnType<updateMethod>>