Meta Values (json)
Less than 1 minute
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
Synonyms
meta-values
$.
See Also
[{ Lambda }]
: Iterate through structured dataforeach
: Iterate through an arrayformap
: Iterate through a map or other collection of datawhile
: Loop until condition false
This document was generated from gen/variables/meta-values_doc.yaml.