OlympeNamespacescomparatorsVersion: 2.9On this pagecomparators Index ClassesDateTimeNumberStringClasses DateTimeDateTime: @deprecatedconstructornew DateTime(value: ValueDef): DateTimeParametersvalue: ValueDefReturns DateTimestaticcreatecreate(comparator: (object1: Sync, object2: Sync) => Observable<number>): ComparatorParameterscomparator: (object1: Sync, object2: Sync) => Observable<number>Returns ComparatorNumberNumber: @deprecatedconstructornew Number(value: ValueDef): NumberParametersvalue: ValueDefReturns Numberstaticcreatecreate(comparator: (object1: Sync, object2: Sync) => Observable<number>): ComparatorParameterscomparator: (object1: Sync, object2: Sync) => Observable<number>Returns ComparatorStringString: @deprecatedconstructornew String(value: ValueDef): StringParametersvalue: ValueDefReturns Stringstaticcreatecreate(comparator: (object1: Sync, object2: Sync) => Observable<number>): ComparatorParameterscomparator: (object1: Sync, object2: Sync) => Observable<number>Returns Comparator