Skip to content

Commit 71b9fa4

Browse files
mfikesswannodette
authored andcommitted
CLJS-1525: Mismatch between param and doc for number?
Change the parameter to x to match the docstring. (The name x is used in Clojure and in other functions near number? in cljs.core)
1 parent 15f9bbe commit 71b9fa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@
194194

195195
(defn ^boolean number?
196196
"Returns true if x is a JavaScript number."
197-
[n]
198-
(cljs.core/number? n))
197+
[x]
198+
(cljs.core/number? x))
199199

200200
(defn ^boolean not
201201
"Returns true if x is logical false, false otherwise."

0 commit comments

Comments
 (0)