(ensure-id arg)
A function that takes an argument and checks if it has an id. If it does not, it generates an id and adds it to the argument.
A function that takes an argument and checks if it has an id. If it does not, it generates an id and adds it to the argument.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close