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