⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / Step

Interface: Step ​

Represents a step in a recipe.

Properties ​

items ​

items: StepItem[]

The items in the step.


optional? ​

optional optional?: boolean

Whether the step has been marked as optional ("[?]")


type ​

type: "step"


variants? ​

optional variants?: string[]

Optional list of variant names this step belongs to