Array

public extension Array
public extension Array where Element: Model
  • Declaration

    Swift

    func chunked(into size: Int) -> [[Element]]

Available where Element: Model

  • Warning

    Although this has public access, it is intended for internal & codegen use and should not be used directly by host applications. The behavior of this may change without warning. Though it is not used by host application making any change to these public types should be backward compatible, otherwise it will be a breaking change.

    Declaration

    Swift

    func unique() throws -> Element?