Documentation - v0.27.1
    Preparing search index...

    Class SortedArray<T>

    Array that adds elements in sorted order.

    Comparator is always called like: comparator(itemFromSortedArray, yourItem)

    Type Parameters

    • T
    Index

    Constructors

    Properties

    comparator: (a: T, b: T) => number
    raw: T[]

    Accessors

    Methods