Array

extension Array
  • Declaration

    Swift

    public var circular: CircularArray<Element> { get }

    Return Value

    CircularArray containing the elements contained herein.

  • Declaration

    Swift

    public func appending(_ element: Element) -> Array

    Return Value

    Array with the element appended.

  • Declaration

    Swift

    public static func + (lhs: Array, rhs: Element?) -> Array

    Return Value

    Left-hand-side value appending the right-hand-side value, if it exists. Otherwise, the left-hand-side value.

  • Declaration

    Swift

    public static func + (head: Element, tail: Array) -> Array

    Return Value

    New Array with the first element head, and the remaining elements of tail.