Liking cljdoc? Tell your friends :D

hara.core.base.enum


+enum-mapclj

(+enum-map ??)
?? invalid arglists:
()

cache for hara.core.base.enum/enum-map

cache for hara.core.base.enum/enum-map
raw docstring

create-enumclj

(create-enum s type)

creates an enum value from a string

(create-enum "TYPE" ElementType) => ElementType/TYPE

creates an enum value from a string

(create-enum "TYPE" ElementType)
=> ElementType/TYPE
raw docstring

enum-mapclj

(enum-map type)

cached map of enum values

(enum-map ElementType)

cached map of enum values

(enum-map ElementType)
raw docstring

enum-map-rawclj

(enum-map-raw type)

helper function for hara.core.base.enum/enum-map

helper function for hara.core.base.enum/enum-map
raw docstring

enum-valuesclj

(enum-values type)

returns all values of an enum type

(->> (enum-values ElementType) (map str)) => (contains ["TYPE" "FIELD" "METHOD" "PARAMETER" "CONSTRUCTOR"] :in-any-order :gaps-ok)

returns all values of an enum type

(->> (enum-values ElementType)
     (map str))
=> (contains ["TYPE" "FIELD" "METHOD" "PARAMETER" "CONSTRUCTOR"]
             :in-any-order :gaps-ok)
raw docstring

enum?clj

(enum? type)

check to see if class is an enum type

(enum? java.lang.annotation.ElementType) => true

(enum? String) => false

check to see if class is an enum type

(enum? java.lang.annotation.ElementType) => true

(enum? String) => false
raw docstring

to-enumclj

(to-enum s type)

gets an enum value given a symbol

(to-enum "TYPE" ElementType) => ElementType/TYPE

(to-enum :field ElementType) => ElementType/FIELD

gets an enum value given a symbol

(to-enum "TYPE" ElementType)
=> ElementType/TYPE

(to-enum :field ElementType)
=> ElementType/FIELD
raw docstring

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

× close