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

Function isDateObject

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

Source from the content-addressed store, hash-verified

271}
272
273export const isDateObject = (value: object): value is Date =>
274 prototypeOf(value) === Date.prototype
275
276export const isRegExpObject = (value: object): value is RegExp =>
277 prototypeOf(value) === RegExp.prototype

Callers 6

compareInputMethod · 0.90
writeDataMethod · 0.90
emitMethod · 0.90
writeSharedLiteralMethod · 0.90
contentOfFunction · 0.90
writeFunction · 0.90

Calls 1

prototypeOfFunction · 0.90

Tested by

no test coverage detected