isDataStoreOperation
Checks the version-one operation wire shape.
Import:
import { isDataStoreOperation } from '@mnaoumov/obsidian-lib/data-stores/data-store-replica';Signature:
function isDataStoreOperation(value: unknown): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
value |
unknown | Parsed JSON. |
Returns: boolean — Whether the operation has valid identity and clock fields.