reifyMaybe

abstract fun reifyMaybe(element: Any?): Maybe<Element>(source)

Checks if the element lays in described by this instance domain, and if the element does lay in the domain, returns Some of it, otherwise returns None.

Return

Some containing the element if it is in the domain, None otherwise.

Parameters

element

The element to reify.