Instance Methodswift 6.0.1Swift

    forEach(_:)

    func forEach(_ body: (Element) throws -> Void) rethrows

    Other members in extension

    Typealiases

    Type members

    • init<S>(S)

      Creates a new sequence that wraps and forwards operations to base.

    • init<I>(@escaping () -> I)

      Creates a sequence whose makeIterator() method forwards to makeUnderlyingIterator.

    Instance members