dotty.tools.dotc.core.Types$.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