Skip to content

Commit

Permalink
clarify equality docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
icambron committed Dec 13, 2022
1 parent a6f2737 commit f9917c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.js
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,7 @@ export default class DateTime {

/**
* Equality check
* Two DateTimes are equal iff they represent the same millisecond, have the same zone and location, and are both valid.
* Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid.
* To compare just the millisecond values, use `+dt1 === +dt2`.
* @param {DateTime} other - the other DateTime
* @return {boolean}
Expand Down

0 comments on commit f9917c4

Please sign in to comment.