Manifest.Branch (Manifest v0.3.2) View Source

Defines a Record that contains information on how to branch to perform different steps. When the conditional returns a true value then the success step is performed, otherwise the failure step is performed.

Link to this section Summary

Link to this section Types

Specs

conditional() :: (map() -> boolean())

Specs

t() ::
  {Manifest.Branch, conditional :: conditional(), success :: Manifest.Step.t(),
   failure :: Manifest.Step.t()}

Link to this section Functions

Link to this macro

branch(args \\ [])

View Source (macro)
Link to this macro

branch(record, args)

View Source (macro)