ChronosChronos

isEqual

Checks if two Chronos instances represent the exact same point in time.

isEqual()

Checks if two Chronos instances represent the exact same point in time.

Signature

isEqual(other: ChronosInput): boolean

Parameters

  • other: The date to compare against (can be string, Date, or Chronos instance)

Return Type

boolean - Returns true if the current Chronos date is exactly equal to the comparison date (including time components)

Example

playground.ts

Last updated: Thu, May 21, 2026 05:51:00AM (UTC)

On this page