Skip to content

Glossary: Kotlin Beyond the Basics

sequence

Also written: asSequence

A lazy collection, made with `asSequence()`, that passes one item at a time through every step, only when a last step such as `toList()` asks.

Where the book teaches it

Related terms

lazy