OrNull
dotty.tools.dotc.core.Types.OrNull
object OrNull
An extractor object to pattern match against a nullable union. e.g.
(tp: Type) match case OrNull(tp1) => // tp had the form tp1 | Null
case _ => // tp was not a nullable union
Attributes
- Graph
-
- Supertypes
- Self type
-
OrNull.type
Members list
In this article