Skip to main content

lookup

protocol-method

clojure.core.cache/lookup

(lookup [cache e] [cache e not-found])
Retrieve the value associated with `e` if it exists, else `nil` in the 2-arg case. Retrieve the value associated with `e` if it exists, else `not-found` in the 3-arg case.

No examples yet. Be the first to add one!