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. このSequenceを覆うLazyMapSequenceを返します。結果のそれぞれの要素は遅延に計算されます、毎回それらは、基盤となる要素上でtransform関数を呼び出すことによって読み出されます。

Declaration 宣言

func map<U>(_ transform: @escaping (Base.Element) -> U) -> LazyMapSequence<ReversedCollection<Base>, U>
Available when Base conforms to LazySequenceProtocol. BaseLazySequenceProtocolに準拠する場合に利用可能です。