Skip to content

urange

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / urange

Function: urange()

Call Signature

urange(stop): IterableIterator<uint64>

Defined in: packages/algo-ts/src/util.ts:138

Generates an iterable sequence from 0…stop inclusive

Parameters

stop

Uint64Compat

The stop number of the sequence

Returns

IterableIterator<uint64>

Call Signature

urange(start, stop): IterableIterator<uint64>

Defined in: packages/algo-ts/src/util.ts:144

Generates an iterable sequence from start…stop inclusive

Parameters

start

Uint64Compat

The start number of the sequence

stop

Uint64Compat

The stop number of the sequence

Returns

IterableIterator<uint64>

Call Signature

urange(start, stop, step): IterableIterator<uint64>

Defined in: packages/algo-ts/src/util.ts:151

Generates an iterable sequence from start…stop inclusive with increments of size step

Parameters

start

Uint64Compat

The start number of the sequence

stop

Uint64Compat

The stop number of the sequence

step

Uint64Compat

The step size of the sequence

Returns

IterableIterator<uint64>