ArrayLikeAbstractOperations

The array methods that also work on typed arrays and other array-likes: iteration, reduce, sort.

Types

Link copied to clipboard

Sorts holes last, undefined just before them, and everything else by child.

Link copied to clipboard

Which of the array methods that walk every element is running.

Link copied to clipboard
fun interface LengthAccessor

Reads the length of an array-like, which differs between arrays and typed arrays.

Link copied to clipboard

Which direction reduce walks in.

Link copied to clipboard

The default sort order: compare the elements as strings.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toSliceIndex(value: Double, length: Long): Long