Skip to content

Commit f9917c4

Browse files
committed
clarify equality docstring
1 parent a6f2737 commit f9917c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/datetime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@ export default class DateTime {
19261926

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

0 commit comments

Comments
 (0)