True Myth / maybe
maybe
A value of type T
which may, or may not, be present. If the value is present, it is Just(value)
. If it's absent, it is Nothing
instead.
For a deep dive on the type, see the guide.
Classes
Interfaces
Type Aliases
Variables
Functions
- and
- andThen
- ap
- equals
- find
- first
- get
- isInstance
- isJust
- isNothing
- last
- map
- mapOr
- mapOrElse
- match
- or
- orElse
- property
- safe
- toJSON
- toString
- transposeArray
- unwrapOr
- unwrapOrElse
References
default
Renames and re-exports Maybe