NilFromExpr

object NilFromExpr extends FromExpr[Nil.type]

Default implementation of FromExpr[Nil]

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

Value members

Concrete methods

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