Skip to content

isWrite

isWrite(op): op is { kind: “create” } | { kind: “delete” } | { encoding: “string” | “bytes”; kind: “set”; path: string; value: Uint8Array } | { kind: “concat”; path: string; value: Uint8Array } | { kind: “remove”; path: string }

Defined in: packages/store-kit/src/history/index.ts:101

Changes the box contents.

Parameters

op

StoreOp

Returns

op is { kind: “create” } | { kind: “delete” } | { encoding: “string” | “bytes”; kind: “set”; path: string; value: Uint8Array } | { kind: “concat”; path: string; value: Uint8Array } | { kind: “remove”; path: string }