kyo.Maybe$package.Maybe.Ops
final implicit class Ops[A](maybe: Maybe[A]) extends AnyVal
Provides operations on Maybe instances.
Attributes
-
Graph
-
-
Supertypes
-
class AnyVal
trait Matchable
class Any
Members list
Gets the value contained in the Maybe instance.
Gets the value contained in the Maybe instance.
Attributes
-
Returns
-
the contained value
-
Throws
-
NoSuchElementException
if the instance is empty
Checks if the Maybe instance is empty.
Checks if the Maybe instance is empty.
Attributes
-
Returns
-
true if the instance is empty, false otherwise