ArrayIndex array.index choose the nth element of an array given context input of "items" = [1,2,3] array.index(items, 1) => 1, true array.index(items, 5) => nil, false array.index(items, -1) => 3, true
| 71 | // array.index(items, -1) => 3, true |
| 72 | // |
| 73 | type ArrayIndex struct{} |
| 74 | |
| 75 | // Type unknown - returns single value from SliceValue array |
| 76 | func (m *ArrayIndex) Type() value.ValueType { return value.UnknownType } |
nothing calls this directly
no outgoing calls
no test coverage detected