(u: unknown): u is DateTimeChecks whether a value is a DateTime.
When to use
Use to narrow an unknown value before treating it as a DateTime.
Source effect/DateTime.ts:4171 lines
export const const isDateTime: (
u: unknown
) => u is DateTime
Checks whether a value is a DateTime.
When to use
Use to narrow an unknown value before treating it as a DateTime.
isDateTime: (u: unknownu: unknown) => u: unknownu is type DateTime = Utc | ZonedA DateTime represents a point in time. It can optionally have a time zone
associated with it.
Companion namespace containing the public helper types used by DateTime
constructors, parts APIs, formatting, and date/time arithmetic.
DateTime = import InternalInternal.const isDateTime: (
u: unknown
) => u is DateTime.DateTime
isDateTimeReferenced by 2 symbols