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 builds & hosts documentation for Clojure/Script libraries
⌘+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
⌘+/ | Jump to the search field |