(+enum-map ??)
()
cache for hara.core.base.enum/enum-map
cache for hara.core.base.enum/enum-map
(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
(enum-map type)
cached map of enum values
(enum-map ElementType)
cached map of enum values (enum-map ElementType)
(enum-map-raw type)
helper function for hara.core.base.enum/enum-map
helper function for hara.core.base.enum/enum-map
(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)
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close