capture->invoke

Invokes a capture with arguments.

Target member

Signature

1capture->invoke(...)

Invokes a capture with arguments.

capture->invoke is called with member syntax on a receiver value. capture->invoke affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.

Parameters

...
Additional values may be supplied after the earlier arguments.

Examples

Basic call

1local(c) = { #1->uppercase }2#c->invoke('ada')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.