Append

public struct Append: Fn

Append returns a new Array that is the result of appending elements onto the collection array.

Reference.

  • Declaration

    Swift

    public init(elements: Expr, to collection: Expr)

    Parameters

    elements

    Elements to append.

    collection

    Collection to be appended.