effect-io-ai

Package: effect
Module: DateTime

DateTime.isUtc

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.

See

Signature

declare const isUtc: (self: DateTime) => self is Utc

Source

Since v3.6.0