Instance Methodswift 6.0.1Swift

    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.

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

    Other members in extension

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces