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

Function defaultGetKey

docs/app/js/sanddance-app.js:26178–26182  ·  view source on GitHub ↗
(item, index)

Source from the content-addressed store, hash-verified

26176 return Selection1;
26177}();
26178function defaultGetKey(item, index) {
26179 // 0 may be used as a key
26180 var _a = (item || {}).key, key = _a === void 0 ? "" + index : _a;
26181 return key;
26182}
26183
26184},{"./Selection.types":"3AIhh","../EventGroup":"f8oQM","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"aj57R":[function(require,module,exports) {
26185var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected