protocol Sequence
  • Returns true if all elements satisfy the predicate.

    Declaration

    func forAll(_ predicate: (Element) throws -> Bool) rethrows -> Bool