optional

dotty.tools.dotc.util.optional$package.optional
object optional

A prompt for Option, which establishes a boundary which _.? on Option can return

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
optional.type

Members list

Value members

Concrete methods

inline def apply[T](inline body: () ?=> T): Option[T]
inline def break()(using label: Label[None.type]): Nothing

Extensions

Extensions

extension [T](r: Option[T])
inline def ?(using label: Label[None.type]): T