Interface XFindClosestIndexOptions

interface XFindClosestIndexOptions {
    sorted?: boolean;
}

Properties

Properties

sorted?: boolean

Is the array sorted ? This allows to make a dichotomic search that is much faster.

Default

true