# interface ArrayAccess<T>

#### no package

Available on all platforms

`ArrayAccess` is used to indicate a class that can be accessed using brackets. The type parameter represents the type of the elements stored.

This interface should be used for externs only. Haxe does not support custom array access on classes. However, array access can be implemented for abstract types.

See:

https://haxe.org/manual/types-abstract-array-access.html