MCPcopy Index your code
hub / github.com/vercel/hyper / getKey

Function getKey

bin/yarn-standalone.js:66377–66383  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

66375 }
66376
66377 function getKey(key){
66378 var intKey = parseInt(key);
66379 if (intKey.toString() === key) {
66380 return intKey;
66381 }
66382 return key;
66383 }
66384
66385 function factory(options) {
66386 options = options || {}

Callers 1

factoryFunction · 0.85

Calls 2

parseIntFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected