A computation that can fail to produce a meaningful result; a more robust
alternative to returning a value that may be nil.
A computation that can fail to produce a meaningful result; a more robust alternative to returning a value that may be `nil`.
An Option that contains no value.
An [[Option]] that contains no value.
A computation that can fail to produce a meaningful result; a more robust
alternative to returning a value that may be nil.
A computation that can fail to produce a meaningful result; a more robust alternative to returning a value that may be `nil`.
(none? self)Is self a None?
Is `self` a [[None]]?
(some? self)Is self a Some?
Is `self` a [[Some]]?
(run default f e)Apply f to the contents of self if (some? self) and return default if (none? self).
Apply `f` to the contents of `self` if `(some? self)` and return `default` if `(none? self)`.
An Option that contains a value.
An [[Option]] that contains a value.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |