Array

public extension Array
public extension Array where Element: UIView
extension Array where Element: ExpressibleByDecimal
  • Returns an iterator that splits self into chunks of Array<Element>, each with size elements.

    Declaration

    Swift

    func chunks(_ size: Int) -> AnyIterator<[Element]>
  • Undocumented

    Declaration

    Swift

    func all(_ predicate: (Iterator.Element) throws -> Bool = truthy) rethrows -> Bool
  • Undocumented

    Declaration

    Swift

    func any(_ predicate: (Iterator.Element) throws -> Bool = truthy) rethrows -> Bool

Available where Element: UIView

Available where Element: ExpressibleByDecimal