Skip to content

ToDataOptions

Options for toData.

Property Type Description

autoDedent?

boolean

Dedent each step’s run script, as toYaml does. Defaults to false.

comments?

boolean

Surface commented nodes as CommentNode so comment placement is observable as data. Defaults to false (comments unwrapped to their values).