Collection

extension Collection
  • Returns the suffix from where the found function/closure first returns true

    Complexity

    O(self.count).

    Declaration

    Swift

    public func takeFrom(indexWhere found: (Iterator.Element) -> Bool) -> SubSequence