github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/variables/meta-values.md (about)

     1  # Meta Values (json)
     2  
     3  > State information for iteration blocks
     4  
     5  ## Description
     6  
     7  Meta Values, `$.`, provides state information for blocks like `foreach`,
     8  `formap`, `while` and lambdas.
     9  
    10  Meta Values are a specific to the block, so you will need to refer to each
    11  iteration structure's documentation to check what information is exposed via
    12  `$.`
    13  
    14  
    15  
    16  ## Examples
    17  
    18  ```
    19  ยป %[Monday..Friday] -> foreach day { out "$.i: $day" }
    20  1: Monday
    21  2: Tuesday
    22  3: Wednesday
    23  4: Thursday
    24  5: Friday
    25  ```
    26  
    27  ## Synonyms
    28  
    29  * `meta-values`
    30  * `$.`
    31  
    32  
    33  ## See Also
    34  
    35  * [`[{ Lambda }]`](../parser/lambda.md):
    36    Iterate through structured data
    37  * [`foreach`](../commands/foreach.md):
    38    Iterate through an array
    39  * [`formap`](../commands/formap.md):
    40    Iterate through a map or other collection of data
    41  * [`while`](../commands/while.md):
    42    Loop until condition false
    43  
    44  <hr/>
    45  
    46  This document was generated from [gen/variables/meta-values_doc.yaml](https://github.com/lmorg/murex/blob/master/gen/variables/meta-values_doc.yaml).