MCPcopy Index your code
hub / github.com/microsoft/SandDance / isTuple

Function isTuple

docs/app/js/sanddance-app.js:107206–107208  ·  view source on GitHub ↗

* Checks if an input value is a registered tuple. * @param {*} t - The value to check. * @return {boolean} True if the input is a tuple, false otherwise.

(t)

Source from the content-addressed store, hash-verified

107204 * @param {*} t - The value to check.
107205 * @return {boolean} True if the input is a tuple, false otherwise.
107206 */ function isTuple(t) {
107207 return !!(t && tupleid(t));
107208}
107209/**
107210 * Returns the id of a tuple.
107211 * @param {object} t - The input tuple.

Callers

nothing calls this directly

Calls 1

tupleidFunction · 0.70

Tested by

no test coverage detected