ClojureDocs

Nav

Namespaces

Take the 2025 State of Clojure Survey! Help shape the future of Clojure. Take Survey →

min-key

clojure.core

Available since 1.0 (source)
  • (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.