Skip to content

Commit 15fa952

Browse files
author
Vadim Platonov
committed
after/before: update docs
1 parent 986df2f commit 15fa952

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/java_time/core.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@
152152
(first (sort (cons o os))))
153153

154154
(defn before?
155-
"Returns non-nil if time entities are ordered from the earliest to the latest
156-
(same semantics as `<`):
155+
"Returns a truthy value if time entities are ordered from the earliest to the
156+
latest (same semantics as `<`):
157157
158158
(before? (local-date 2009) (local-date 2010) (local-date 2011))
159159
=> truthy...
@@ -171,8 +171,8 @@
171171
false)))
172172

173173
(defn after?
174-
"Returns non-nil if time entities are ordered from the latest to the earliest
175-
(same semantics as `>`):
174+
"Returns a truthy value if time entities are ordered from the latest to the
175+
earliest (same semantics as `>`):
176176
177177
(after? (local-date 2011) (local-date 2010) (local-date 2009))
178178
=> truthy...

0 commit comments

Comments
 (0)