Instance Methodswift 6.0.1Swift

    index(after:)

    Returns the position immediately after the given index.

    func index(after i: Int) -> Int

    Parameters

    i

    A valid index of the collection. i must be less than endIndex.

    Returns

    The index immediately after i.

    Other members in extension

    Typealiases

    Type members

    Instance members