MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / isIntegerKey

Function isIntegerKey

web/main.js:48–48  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

46};
47const isPlainObject = (val) => toTypeString(val) === "[object Object]";
48const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
49const isReservedProp = /* @__PURE__ */ makeMap(
50 // the leading comma is intentional so empty string "" is also included
51 ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"

Callers 3

triggerFunction · 0.85
getMethod · 0.85
setMethod · 0.85

Calls 1

isStringFunction · 0.85

Tested by

no test coverage detected