Skip to content

Commit 85d41cf

Browse files
ducky427swannodette
authored andcommitted
Added boolean annotation to string/blank? function
1 parent a4d6a24 commit 85d41cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/clojure/string.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
(recur (dec index))
191191
(.substring s 0 index))))))
192192

193-
(defn blank?
193+
(defn ^boolean blank?
194194
"True is s is nil, empty, or contains only whitespace."
195195
[s]
196196
(gstring/isEmptySafe s))

0 commit comments

Comments
 (0)