Liking cljdoc? Tell your friends :D

io.github.frenchy64.fully-satisfies.partially-satisfies


partially-satisfies?clj

(partially-satisfies? p v)

Returns true if value v extends protocol p, otherwise false.

A value is considered to 'extend' protocol p either if:

  • p implements the protocols interface, or
  • p extends the protocol via clojure.core/extend, or
  • p implements at least one method via metadata if supported by the protocol
Returns true if value v extends protocol p, otherwise false.

A value is considered to 'extend' protocol p either if:
- p implements the protocols interface, or
- p extends the protocol via clojure.core/extend, or
- p implements at least one method via metadata if supported
  by the protocol
sourceraw docstring

satisfies?clj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close