bstrees
    Preparing search index...

    Type Alias ComparatorArgs<T>

    ComparatorArgs: [T] extends [bigint] | [number] | [string]
        ? [compare?: Comparator<T>]
        : [compare: Comparator<T>]

    Constructor arguments of a tree: the comparator is optional only when the values are numbers, strings or bigints.

    Type Parameters

    • T