Liking cljdoc? Tell your friends :D

hara.string.base.impl


+path-separatorclj

cache for hara.string.base.impl/path-separator

cache for hara.string.base.impl/path-separator
raw docstring

from-stringclj

(from-string string type)
(from-string string type opts)

converts a string to an object

(from-string "a" clojure.lang.Symbol) => 'a

(from-string "hara.string" clojure.lang.Namespace) => (find-ns 'hara.string)

converts a string to an object

(from-string "a" clojure.lang.Symbol)
=> 'a

(from-string "hara.string" clojure.lang.Namespace)
=> (find-ns 'hara.string)
raw docstring

path-separatorclj

(path-separator type)

returns the default path separator for an object

(path-separator clojure.lang.Namespace) => "."

(path-separator clojure.lang.Keyword) => "/"

returns the default path separator for an object

(path-separator clojure.lang.Namespace)
=> "."

(path-separator clojure.lang.Keyword)
=> "/"
raw docstring

to-stringclj

(to-string string)

converts an object to a string

(to-string :hello/world) => "hello/world"

(to-string ns) => "hara.string.base.impl-test"

converts an object to a string

(to-string :hello/world)
=> "hello/world"

(to-string *ns*)
=> "hara.string.base.impl-test"
raw docstring

wrap-compareclj

(wrap-compare f)

wraps a function so that it can compare any two string-like inputs

((wrap-compare =) :hello 'hello) => true

wraps a function so that it can compare any two string-like inputs

((wrap-compare =) :hello 'hello)
=> true
raw docstring

wrap-opclj

(wrap-op f return)

wraps a string function such that it can take any string-like input

((wrap-op str false) :hello 'hello) => :hellohello

((wrap-op str true) :hello 'hello) => "hellohello"

wraps a string function such that it can take any string-like input

((wrap-op str false) :hello 'hello)
=> :hellohello

((wrap-op str true) :hello 'hello)
=> "hellohello"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close