Back

assoc-some (clj)

(source)

function

(assoc-some m k v) (assoc-some m k v & kvs)
Associates a key with a value in a map, if and only if the value is not nil. From medley.

Examples