Skip to main content

Meta Values (json)

Laurence MorganLess 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 data
  • foreach: Iterate through an array
  • formap: Iterate through a map or other collection of data
  • while: Loop until condition false

This document was generated from gen/variables/meta-values_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan