MCPcopy Create free account
hub / github.com/Effect-TS/effect / isDate

Function isDate

packages/effect/src/Predicate.ts:1267–1269  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

1265 * @since 2.0.0
1266 */
1267export function isDate(input: unknown): input is Date {
1268 return input instanceof Date
1269}
1270
1271/**
1272 * Checks whether a value is iterable.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected