Skip to content

ForEachSpec

Defined in: extract/spec.ts:167

Iterate over values from source and execute body with each bound to binding.

forEach(
$.get('names').strings(),
'name',
extract($ => ({
label: variableRef('name'),
value: $.get('data').string(),
}))
)

Source extends Spec = Spec

Body extends Spec = Spec

readonly binding: string

Defined in: extract/spec.ts:173


readonly body: Body

Defined in: extract/spec.ts:174


readonly kind: "forEach"

Defined in: extract/spec.ts:171


readonly source: Source

Defined in: extract/spec.ts:172