diff --git a/clojure/fundament/0_ends_with.clj b/clojure/fundament/0_ends_with.clj new file mode 100644 index 0000000..1df4940 --- /dev/null +++ b/clojure/fundament/0_ends_with.clj @@ -0,0 +1,8 @@ +(ns kata) +(use 'clojure.string) +(defn solution [strng ending] + (ends-with? strng ending) + ) + +;; alternatively, we can define as alias +;; (def solution clojure.string/ends-with?) \ No newline at end of file