OptionFromExpr

given OptionFromExpr[T](using `x$1`: Type[T], `x$2`: FromExpr[T]): FromExpr[Option[T]]

Default implementation of FromExpr[Option] - Transform '{Some(x)} into Some(Some(x)) if x can be transformed using FromExpr[T] - Transform '{None} into Some(None) - Otherwise returns None

Default implementation of FromExpr[Option] - Transform '{Some(x)} into Some(Some(x)) if x can be transformed using FromExpr[T] - Transform '{None} into Some(None) - Otherwise returns None

Value members

Concrete methods

def unapply(x: Expr[Option[T]])(using Quotes): Option[Option[T]]

Concrete fields

protected val `x$1`: Type[T]
protected val `x$2`: FromExpr[T]