Slice$SliceNumExtension<T extends num> extension

on

Methods

isSorted() bool

Available on Slice<T>, provided by the Slice$SliceNumExtension extension

Checks if the elements of this slice are sorted. That is, for each element a and its following element b, a <= b must hold.
sortUnstable() → void

Available on Slice<T>, provided by the Slice$SliceNumExtension extension

Sorts the slice, but might not preserve the order of equal elements.