Instance Property

lazy

A sequence containing the same elements as this sequence, but on which some operations, such as map and filter, are implemented lazily.

Declaration

var lazy: LazySequence<Data> { get }

See Also

Transforming Data

func reduce<Result>(Result, (Result, UInt8) -> Result) -> Result

Returns the result of combining the elements of the sequence using the given closure.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software