MCPcopy
hub / github.com/di-sukharev/opencommit / isRegExp2

Function isRegExp2

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

Source from the content-addressed store, hash-verified

27499 return toStr(obj) === "[object Date]" && (!toStringTag2 || !(typeof obj === "object" && toStringTag2 in obj));
27500 }
27501 function isRegExp2(obj) {
27502 return toStr(obj) === "[object RegExp]" && (!toStringTag2 || !(typeof obj === "object" && toStringTag2 in obj));
27503 }
27504 function isError2(obj) {
27505 return toStr(obj) === "[object Error]" && (!toStringTag2 || !(typeof obj === "object" && toStringTag2 in obj));
27506 }

Calls 1

toStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…