-
Notifications
You must be signed in to change notification settings - Fork 1
count
Litichevskiy Dmitriy edited this page Jan 26, 2019
·
1 revision
Method returns a number that represents how many elements in an iterable satisfy the condition.
Kind: instance method of Manipula
Param | Type | Description |
---|---|---|
[predicate] | logicalPredicate |
A function to test each element for a condition. |
- .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)