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.
Initializes every element in this array to a copy of the given value.
init(repeating value: Element)The instance to initialize this array with.