API Reference
assertAgenticMemoryRecordSnapshotFrame()
Asserts that a value is an agentic memory record snapshot frame.
Import
import { assertAgenticMemoryRecordSnapshotFrame } from "@graphrefly/ts/adapters";
Signature
function assertAgenticMemoryRecordSnapshotFrame(value: unknown): AgenticMemoryRecordSnapshotFrame<TJson>
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | Unknown value to check or decode. |
Returns
The narrowed, validated value.
Example
import { assertAgenticMemoryRecordSnapshotFrame } from "@graphrefly/ts/adapters";
Source
packages/ts/src/adapters/agentic-memory-storage.ts