MCPcopy Create free account
hub / github.com/microsoft/SandDance / keyRef

Function keyRef

docs/app/js/sanddance-app.js:147100–147106  ·  view source on GitHub ↗
(fields, flat)

Source from the content-addressed store, hash-verified

147098 };
147099}
147100function keyRef(fields, flat) {
147101 const ref4 = {
147102 $key: fields
147103 };
147104 if (flat) ref4.$flat = true;
147105 return ref4;
147106} // -----
147107const Ascending = "ascending";
147108const Descending = "descending";
147109function sortKey(sort) {

Callers

nothing calls this directly

Calls 3

refFunction · 0.70
KeyFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected