#
View Source Ash.Flow.StepHelpers (ash v2.6.31)

Template functions available while declaring steps.

# Link to this section Summary

## Functions

arg(name)

Accesses a flow argument

element(element)

Accesses the value being iterated over for a given map step. The name is required so that `map` steps can be nested.

expr(expr)

Constructs an expression that can access

merge(results)

Accesses a flow argument

path(template, path)

Accesses a path in a value lazily. Supports the value being a template, e.g `path(result(:foo), [:bar, 0, :baz])`

range(start, finish)

Creates a range lazily. Supports the start or finish being a template, e.g `range(result(:foo), result(:bar))`

result(step)

Accesses the result of a step

# Link to this section Functions

Link to this function

# arg(name)

View Source

Accesses a flow argument

Link to this function

# element(element)

View Source

Accesses the value being iterated over for a given map step. The name is required so that `map` steps can be nested.

Link to this macro

# expr(expr)

View Source (macro)

Constructs an expression that can access

Link to this function

# merge(results)

View Source

Accesses a flow argument

Link to this function

# path(template, path)

View Source

Accesses a path in a value lazily. Supports the value being a template, e.g `path(result(:foo), [:bar, 0, :baz])`

Link to this function

# range(start, finish)

View Source

Creates a range lazily. Supports the start or finish being a template, e.g `range(result(:foo), result(:bar))`

Link to this function

# result(step)

View Source

Accesses the result of a step