ClojureDocs

Nav

Namespaces

Take the 2026 State of Clojure Survey! Help shape the future of Clojure — open through Nov 30. Take Survey →
core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

min-key

clojure.core

Available since 1.0 (source) Clojure/JVMClojureScriptbabashka
  • (min-key k x)
  • (min-key k x y)
  • (min-key k x y & more)
Returns the x for which (k x), a number, is least.
 If there are multiple such xs, the last one is returned.