API Reference

ArrayIndexOwnerResolver

Resolves numeric index identifiers on Array contexts. Returns the array if the index is a valid, in-bounds position.

Description

Checks that the context is an Array, converts the index to a number, and verifies it is a finite, non-negative index within the array bounds. Returns the array on match, or null to pass to the next resolver.

Used for expressions like orders[0] or lines[i] where the context at that path segment is an array.