MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / isNumber2

Function isNumber2

out/cli.cjs:27510–27512  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

27508 return toStr(obj) === "[object String]" && (!toStringTag2 || !(typeof obj === "object" && toStringTag2 in obj));
27509 }
27510 function isNumber2(obj) {
27511 return toStr(obj) === "[object Number]" && (!toStringTag2 || !(typeof obj === "object" && toStringTag2 in obj));
27512 }
27513 function isBoolean2(obj) {
27514 return toStr(obj) === "[object Boolean]" && (!toStringTag2 || !(typeof obj === "object" && toStringTag2 in obj));
27515 }

Calls 1

toStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…