Instance Property


A view onto this collection that provides lazy implementations of normally eager operations, such as map and filter.


var lazy: LazyRandomAccessCollection<Array<Element>> { get }


Use the lazy property when chaining operations to prevent intermediate operations from allocating storage, or when you only need a part of the final collection to avoid unnecessary computation.

See Also

Related Symbols

LazySequenceProtocol, LazyCollectionProtocol.