OptionFromExpr
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
- Source
- FromExpr.scala
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