Bind the val onto Settable by name
Bind the val onto Settable by name
(-set-named-parameter! val settable name)
(-set-named-parameter! val settable name el-class)
(-set-named-parameter! val settable name k-class v-class)
(set-named-parameter! settable name val)
unfortunately with named params we have no information about the type of the value to be bound, we only have the value we are trying to bind
if the value is a non-empty collection then use the first element of the collection to guess the element or key/value types
if the value is an empty collection, bind nilable
otherwise, use the value type
unfortunately with named params we have no information about the type of the value to be bound, we only have the value we are trying to bind if the value is a non-empty collection then use the first element of the collection to guess the element or key/value types if the value is an empty collection, bind nilable otherwise, use the value type
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close