Skip to content

Commit 0b621e2

Browse files
committed
CLJS-3359: Clarify cljs.core/get docstring regarding sets, strings, arrays, ILookup
1 parent f21d16f commit 0b621e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,8 @@ reduces them without incurring seq initialization"
19511951
xs)))
19521952

19531953
(defn get
1954-
"Returns the value mapped to key, not-found or nil if key not present."
1954+
"Returns the value mapped to key, not-found or nil if key not present
1955+
in associative collection, set, string, array, or ILookup instance."
19551956
([o k]
19561957
(when-not (nil? o)
19571958
(cond

0 commit comments

Comments
 (0)