(self: DateTime): self is UtcChecks whether a DateTime is a UTC DateTime (no time zone information).
When to use
Use to narrow a DateTime before passing it to code that requires a UTC
value without an associated time zone.
Source effect/DateTime.ts:4811 lines
export const const isUtc: (
self: DateTime
) => self is Utc
Checks whether a DateTime is a UTC DateTime (no time zone information).
When to use
Use to narrow a DateTime before passing it to code that requires a UTC
value without an associated time zone.
isUtc: (self: DateTimeself: 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) => self: DateTimeself is Utc = import InternalInternal.const isUtc: (
self: DateTime.DateTime
) => self is DateTime.Utc
isUtcReferenced by 1 symbols