Contents

append(repeating:count:)

Repeatedly append an element to this span.

Declaration

mutating func append(repeating repeatedValue: Element, count: Int)

Parameters

  • repeatedValue:

    The element to append repeatedly.

  • count:

    The number of times to append repeatedValue. count must not exceed freeCapacity.