MCPcopy Create free account
hub / github.com/docker/getting-started / _toPropertyKey

Function _toPropertyKey

app/src/static/js/react-bootstrap.js:1241–1245  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

1239}
1240
1241function _toPropertyKey(arg) {
1242 var key = _toPrimitive(arg, "string");
1243
1244 return typeof key === "symbol" ? key : String(key);
1245}
1246
1247function _toPrimitive(input, hint) {
1248 if (typeof input !== "object" || input === null) return input;

Callers

nothing calls this directly

Calls 1

_toPrimitiveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…