Skip to content

Commit

Permalink
GitHub Issue #48 - add clojure.string/starts-with?, clojure.string/en…
Browse files Browse the repository at this point in the history
…ds-with? (#52)
  • Loading branch information
oakmac authored Feb 20, 2023
1 parent a352933 commit acad0ce
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cljs-server/cljs_cheatsheet_server/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,12 @@
[:tr
[:td.label-9e0b7 "Test"]
[:td.body-885f4
(FnLink "char")
(FnLink "string?")
(CodeText "(clojure.string/)")
(FnLink "includes?" clj-string-ns)
(FnLink "blank?" clj-string-ns)]]]]])
(FnLink "blank?" clj-string-ns)
(FnLink "starts-with?" clj-string-ns)
(FnLink "ends-with?" clj-string-ns)
(FnLink "includes?" clj-string-ns)]]]]])


(defn AtomsSection []
Expand Down
1 change: 1 addition & 0 deletions docfiles/cljs.core_emptyQMARK.cljsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Please use the idiom `(seq x)` rather than `(not (empty? x))`.

===== Related
cljs.core/seq
clojure.string/blank?
1 change: 1 addition & 0 deletions docfiles/clojure.string_blankQMARK.cljsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ clojure.string/blank?
True if `s` is nil, empty, or contains only whitespace.

===== Related
cljs.core/empty?
13 changes: 13 additions & 0 deletions docfiles/clojure.string_ends-withQMARK.cljsdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
===== Name
clojure.string/ends-with?

===== Signature
[s substr]

===== Description

True if `s` ends with `substr`.

===== Related
clojure.string/starts-with?
clojure.string/includes?
2 changes: 2 additions & 0 deletions docfiles/clojure.string_includesQMARK.cljsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ True if `s` includes `substr`.
===== Related
cljs.core/re-find
cljs.core/contains?
clojure.string/starts-with?
clojure.string/ends-with?
13 changes: 13 additions & 0 deletions docfiles/clojure.string_starts-withQMARK.cljsdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
===== Name
clojure.string/starts-with?

===== Signature
[s substr]

===== Description

True if `s` starts with `substr`.

===== Related
clojure.string/ends-with?
clojure.string/includes?

0 comments on commit acad0ce

Please sign in to comment.