$., Meta Values (json)
Less than 1 minuteSpecial VariablesLocally Scoped Variables
$.
, Meta Values (json)
State information for iteration blocks
Description
Meta Values, $.
, provides state information for blocks like foreach
, formap
, while
and lambdas.
Meta Values are a specific to the block, so you will need to refer to each iteration structure's documentation to check what information is exposed via $.
Examples
» %[Monday..Friday] -> foreach day { out "$.i: $day" }
1: Monday
2: Tuesday
3: Wednesday
4: Thursday
5: Friday
See Also
- For Each In List (
foreach
): Iterate through an array - For Each In Map (
formap
): Iterate through a map or other collection of data - Loop While (
while
): Loop until condition false [{ Lambda }]
: Iterate through structured data
This document was generated from gen/variables/meta-values_doc.yaml.