Contents

init(repeating:)

Initializes every element in this array to a copy of the given value.

Declaration

init(repeating value: Element)

Parameters

  • value:

    The instance to initialize this array with.