1.2.0 permalink Arrow_down_16x16
  • (get-cell df name)
Get the single cell named by name

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/dataflow.clj:95 top

(defn get-cell
  "Get the single cell named by name"
  [df name]
  (let [cells (get-cells df name)]
    (cond
     (= (count cells) 1) (first cells)
     (> (count cells) 1) (throwf Exception "Cell %s has multiple instances" name)
     :otherwise (throwf Exception "Cell %s is undefined" name))))
Vars in clojure.contrib.dataflow/get-cell: = > cond count defn first let name
Used in 0 other vars

Comments top

No comments for get-cell. Log in to add a comment.