add_step adds a step to the last location in the recipe. add_check does the same for checks.

add_step(rec, object)

add_check(rec, object)

Arguments

rec

A recipe().

object

A step or check object.

Value

A updated recipe() with the new operation in the last slot.