currentCapture
Returns the currently executing capture.
Target
Signature
1currentCapture()Returns the currently executing capture.
currentCapture is a global callable that can be used wherever an expression is valid. currentCapture affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.
Examples
Basic call
1currentCaptureThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.