(bean)
(bean x)
(bean x & opts)
Takes a JavaScript object and returns a read-only implementation of the map abstraction backed by the object.
By default, bean produces beans that keywordize the keys. Supply :keywordize-keys false to suppress this behavior. You can alternatively supply :prop->key and :key->prop with functions that controls the mapping between properties and keys. Calling (bean) produces an empty bean.
Takes a JavaScript object and returns a read-only implementation of the map abstraction backed by the object. By default, bean produces beans that keywordize the keys. Supply :keywordize-keys false to suppress this behavior. You can alternatively supply :prop->key and :key->prop with functions that controls the mapping between properties and keys. Calling (bean) produces an empty bean.
(object b)
Takes a bean and returns a JavaScript object.
Takes a bean and returns a JavaScript object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close