Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/sessions / / sha256OfValue

Function: sha256OfValue()

ts
function sha256OfValue(value): string;

Defined in: packages/sessions/src/cassette/replay.ts:247

Compute the canonical SHA-256 of any value the cassette layer accepts as args. Mirrors what the writer records under sha256OfArgs.

Parameters

ParameterType
valueunknown

Returns

string

Stable