Skip to content

Iterable

Giorgio Garofalo edited this page Oct 11, 2024 · 10 revisions

Iterable values are ordered lists or unordered set that can be iterated through a loop.

Markdown list

An ordered or unordered Markdown list is automatically converted to an ordered iterable.

Note

This feature is currently limited:

  • The text content of each item is used as a dynamic value, allowing it to be adapted to any other type as invocation time;
  • Nested lists are not supported.
.var {letters}
  - A
  - B
  - C

.foreach {.letters}
  .lowercase {.1}

a

b

c

Range

A Range is a valid ordered iterable value.

Clone this wiki locally