func (v Value) Index(i int) Value {
	x, ok := v.data.(array)
	if !ok || i < 0 || i >= len(x) {
		return Value{}
	}
	return v.r.resolve(v.ptr, x[i])
}
func (v Value) Index(i int) Value {
	x, ok := v.data.(array)
	if !ok || i < 0 || i >= len(x) {
		return Value{}
	}
	return v.r.resolve(v.ptr, x[i])
}
func ( v Value ) Index ( i int ) Value { x , ok := v . data . ( array ) if ! ok || i < 0 || i >= len ( x ) { return Value { } } return v . r . resolve ( v . ptr , x [ i ] ) }
// Index returns the i'th element in the array v.
// If v.Kind() != Array or if i is outside the array bounds,
// Index returns a null Value.
Index returns the i th element in the array v . If v . Kind () ! = Array or if i is outside the array bounds Index returns a null Value .