Skip to content

clojure.core/complement

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 4 Runnable: 3
([f])

Takes a fn f and returns a fn that takes the same arguments as f, has the same effects, if any, and returns the opposite truth value.

Examples

by mattdw on
by MokkeMeguru on . May have evaluation errors.
by ibercode on
by wplj on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.