Skip to content

Function: at()

at<T>(index, …sources): T | undefined

Same semantics as Array.prototype.at over the concatenated sources. Non-negative indices scan lazily; negative indices materialize first. index leads so the sources can stay variadic.

T

number

Zero-based position; negative counts from the end.

…readonly Source<T>[]

Containers to concatenate (nullish sources are skipped).

T | undefined