Comment Comment by bvrmn What's idiomatic way to get index (0, n-1) with the value? Parent example shows you could not use $key as a generic solution. parent bvrmn 1 year ago