MCPcopy Index your code
hub / github.com/dataease/SQLBot / _toPropertyKey

Function _toPropertyKey

frontend/public/swagger-ui-bundle.js:26892–26904  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

26890 }
26891 }
26892 function _toPropertyKey(s) {
26893 var o = (function _toPrimitive(s, o) {
26894 if ('object' != typeof s || null === s) return s
26895 var i = s[Symbol.toPrimitive]
26896 if (void 0 !== i) {
26897 var a = i.call(s, o || 'default')
26898 if ('object' != typeof a) return a
26899 throw new TypeError('@@toPrimitive must return a primitive value.')
26900 }
26901 return ('string' === o ? String : Number)(s)
26902 })(s, 'string')
26903 return 'symbol' == typeof o ? o : String(o)
26904 }
26905 var a = i(48287).Buffer,
26906 u = i(15340).inspect,
26907 _ = (u && u.custom) || 'inspect'

Callers 2

_definePropertyFunction · 0.85
_definePropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected