LazyPrefixWhileSequence

    A sequence whose elements consist of the initial consecutive elements of some base sequence that satisfy a given predicate.

    @frozen struct LazyPrefixWhileSequence<Base> where Base : Sequence

    Citizens in Swift

    Typealiases

    Citizens in Swift

    Conformances

    Instance members

    Instance features

    Citizens in Swift

    where Base:Sequence

    Conformances

    Types

    • struct Iterator

      An iterator over the initial elements traversed by a base iterator that satisfy a given predicate.

    Typealiases

    Instance members

    Instance features

    Show obsolete interfaces (2)

    Hide obsolete interfaces

    Citizens in Swift

    where Base:Collection

    Conformances

    Types

    • struct Index

      A position in a LazyPrefixWhileCollection or LazyPrefixWhileBidirectionalCollection instance.

    Typealiases

    Instance members

    Instance features

    Show obsolete interfaces (1)

    Hide obsolete interfaces