MCPcopy
hub / github.com/microsoft/SandDance / tupleid

Function tupleid

docs/tests/v2/es6/js/sanddance.js:76558–76560  ·  view source on GitHub ↗

* Returns the id of a tuple. * @param {object} t - The input tuple. * @return {*} the tuple id.

(t)

Source from the content-addressed store, hash-verified

76556
76557
76558function tupleid(t) {
76559 return t[TUPLE_ID_KEY];
76560}
76561/**
76562 * Sets the id of a tuple.
76563 * @param {object} t - The input tuple.

Callers 4

isTupleFunction · 0.70
ingestFunction · 0.70
replaceFunction · 0.70
stableCompareFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected