Extracted from Pike v8.0 release 164 as of 2018-07-18.
   

Method ADT.Sequence()->`[]()


Method `[]

mixed res = ADT.Sequence()[ index ]

Description

Index operator.

Parameter index

The index to get the value for, could be negative to index from the end.

Returns

The value at the index index.

Throws

An error if the index is out of range.