ClojureDocs

Nav

Namespaces

max-key

clojure.core

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