Predicate

works.iterative.workflow.Predicate
final case class Predicate[S](label: String, test: S => Boolean)

A named predicate over entity state S.

Value parameters

label

stable, language-independent identifier; used by Guard.describe for diagram export (Phase 4)

test

pure boolean function applied to the entity value

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(s: S): Boolean

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product