-
Notifications
You must be signed in to change notification settings - Fork 1
orderingCompareFunction
Litichevskiy Dmitriy edited this page Jan 26, 2019
·
1 revision
Kind: global typedef
Returns: number
- A signed integer that indicates the relative values of x and y, less than zero if x is less than y, greater than zero if x is greater than y and zero if x equals y.
Param | Type | Description |
---|---|---|
x | * |
The first object to compare. |
y | * |
The second object to compare. |
- .aggregate(accumulatorInitialValue, aggregateFunction)
- .all(predicate)
- .any([predicate])
- .append(element)
- .average([selector])
- .concat(second)
- .contains(value, [comparer])
- .count([predicate])
- .distinct([comparer])
- .distinctBy(keySelector, [comparer])
- .elementAt(index)
- .elementAtOrDefault(index)
- .except(second, [comparer])
- .first([predicate])
- .firstOrDefault([predicate])
- .groupBy(keySelector, [options])
- .intersect(second, [comparer])
- .last([predicate])
- .lastOrDefault([predicate])
- .max([selector])
- .min([selector])
- .orderBy(keySelector, [compareFunction])
- .orderByDescending(keySelector, [compareFunction])
- .prepend(element)
- .reverse()
- .select(selector)
- .selectMany(selector)
- .batch(size, [resultSelector])
- .sequenceEqual(second, [comparer])
- .single([predicate])
- .singleOrDefault([predicate])
- .skip(count)
- .skipLast(count)
- .skipWhile(predicate)
- .sum([selector])
- .take(count)
- .takeLast(count)
- .takeWhile(predicate)
- .thenBy(keySelector, [compareFunction])
- .thenByDescending(keySelector, [compareFunction])
- .toArray()
- .toArrayAsync()
- .toMap(keySelector, [options])
- .toMapAsync(keySelector, [options])
- .toSet([comparer])
- .toSetAsync([comparer])
- .union(second, [comparer])
- .where(predicate)
- .from(source)
- .fromGeneratorFunction(fn, ..args)
- .range(start, count)
- .repeat(element, count)