Updater

zio.blocks.schema.Term.Updater
trait Updater[F[_, _]]

A function that replaces a term of any type, which Reflect.Record#modifyField and Reflect.Variant#modifyCase apply.

Attributes

Source
Term.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def update[S, A](input: Term[F, S, A]): Option[Term[F, S, A]]

Returns the term that replaces input, or None, which makes modifyField or modifyCase return None.

Returns the term that replaces input, or None, which makes modifyField or modifyCase return None.

Attributes

Source
Term.scala