MCPcopy Index your code
hub / github.com/ether/etherpad / range

Method range

src/node/utils/Stream.ts:13–15  ·  view source on GitHub ↗

* @returns {Stream} A Stream that yields values in the half-open range [start, end).

(start: number, end: number)

Source from the content-addressed store, hash-verified

11 * @returns {Stream} A Stream that yields values in the half-open range [start, end).
12 */
13 static range(start: number, end: number) {
14 return new Stream((function* () { for (let i = start; i < end; ++i) yield i; })());
15 }
16
17 /**
18 * @param {Iterable<any>} values - Any iterable of values.

Callers 5

Stream.tsFile · 0.80
getChatMessagesMethod · 0.80
copyMethod · 0.80
checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected