MCPcopy
hub / github.com/socketio/socket.io / _toPropertyKey

Function _toPropertyKey

packages/socket.io/client-dist/socket.io.js:142–145  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

140 return ("string" === r ? String : Number)(t);
141 }
142 function _toPropertyKey(t) {
143 var i = _toPrimitive(t, "string");
144 return "symbol" == typeof i ? i : i + "";
145 }
146 function _typeof(o) {
147 "@babel/helpers - typeof";
148

Callers 1

_definePropertiesFunction · 0.85

Calls 1

_toPrimitiveFunction · 0.85

Tested by

no test coverage detected