-
Notifications
You must be signed in to change notification settings - Fork 1
repeat
Litichevskiy Dmitriy edited this page Jan 27, 2019
·
1 revision
Method generates an iterable that contains one repeated value.
Kind: static method of Manipula
Param | Type | Description |
---|---|---|
element | * |
The value to be repeated. |
count | number |
The number of times to repeat the value in the generated iterable. |
- .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)