← ZIO Direct docs

UnApplys

zio.direct.core.metaprog.Extractors.UnApplys
object UnApplys

Agnostic to Apply(Apply(Apply(term, args1), args2), args3). If there are apply nodes, it will return Some((term, Some(List(args1, args2, args3)))) otherwise it will return Some((term, None))

Attributes

Source
Extractor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UnApplys.type

Members list

Value members

Concrete methods

def unapply(using Quotes)(term: x$1.reflect.Term): Option[(x$1.reflect.Term, Option[List[List[x$1.reflect.Term]]])]

Attributes

Source
Extractor.scala