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
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