Generic Instance Method

map(_:)

Returns a LazyMapSequence over this Sequence. The elements of the result are computed lazily, each time they are read, by calling transform function on a base element.

Declaration

func map<U>(_ transform: @escaping (Base.Element) -> U) -> LazyMapSequence<Base, U>