ForEachSpec
Defined in: extract/spec.ts:167
Iterate over values from source and execute body with each bound to binding.
Example
Section titled “Example”forEach( $.get('names').strings(), 'name', extract($ => ({ label: variableRef('name'), value: $.get('data').string(), })))Type Parameters
Section titled “Type Parameters”Source
Section titled “Source”Properties
Section titled “Properties”binding
Section titled “binding”
readonlybinding:string
Defined in: extract/spec.ts:173
readonlybody:Body
Defined in: extract/spec.ts:174
readonlykind:"forEach"
Defined in: extract/spec.ts:171
source
Section titled “source”
readonlysource:Source
Defined in: extract/spec.ts:172