MCPcopy Create free account
hub / github.com/arktypeio/arktype / isRegExpObject

Function isRegExpObject

ark/util/objectKinds.ts:276–277  ·  view source on GitHub ↗
(value: object)

Source from the content-addressed store, hash-verified

274 prototypeOf(value) === Date.prototype
275
276export const isRegExpObject = (value: object): value is RegExp =>
277 prototypeOf(value) === RegExp.prototype
278
279export const writeInvalidDateMessage = <source extends string>(
280 source: source

Callers 5

compareInputMethod · 0.90
writeSharedRefsMethod · 0.90
emitMethod · 0.90
writeSharedLiteralMethod · 0.90
writeFunction · 0.90

Calls 1

prototypeOfFunction · 0.90

Tested by

no test coverage detected