NoneFromExpr

object NoneFromExpr extends FromExpr[None.type]

Default implementation of FromExpr[None]

  • Transform '{None} into Some(None)
  • Otherwise returns None
Source:
FromExpr.scala
trait FromExpr[None.type]
class Object
trait Matchable
class Any

Value members

Concrete methods

def unapply(x: Expr[None.type])(using Quotes): Option[None.type]