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.