MCPcopy Index your code
hub / github.com/SortableJS/Sortable / _defineProperty

Function _defineProperty

Sortable.js:21–28  ·  view source on GitHub ↗
(e, r, t)

Source from the content-addressed store, hash-verified

19 if (Array.isArray(r)) return _arrayLikeToArray(r);
20 }
21 function _defineProperty(e, r, t) {
22 return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
23 value: t,
24 enumerable: !0,
25 configurable: !0,
26 writable: !0
27 }) : e[r] = t, e;
28 }
29 function _extends() {
30 return _extends = Object.assign ? Object.assign.bind() : function (n) {
31 for (var e = 1; e < arguments.length; e++) {

Callers 1

_objectSpread2Function · 0.70

Calls 1

_toPropertyKeyFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…