Options
All
  • Public
  • Public/Protected
  • All
Menu

tree-range-set

Index

Type aliases

Comparator

Comparator<T>: (a: T, b: T) => number

A standard node data comparator.

returns

0 if two nodes are equal, negative if a < b, and positive otherwise.

Type parameters

  • T

    The type of the values to compare.

Type declaration

    • (a: T, b: T): number
    • Parameters

      • a: T
      • b: T

      Returns number

Generated using TypeDoc