← ZIO Prelude docs

given_FromExpr_Regex

zio.prelude.Liftables.given_FromExpr_Regex
object given_FromExpr_Regex extends FromExpr[Regex]

Attributes

Source
Liftables.scala
Graph
Supertypes
trait FromExpr[Regex]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(assertion: Expr[Regex])(using Quotes): Option[Regex]

Return the value of the expression.

Return the value of the expression.

Returns None if the expression does not represent a value or possibly contains side effects. Otherwise returns the Some of the value.

Attributes

Source
Liftables.scala