Contents

replaceAll(_:)

Replaces all entities in this collection with those from the given sequence.

Declaration

mutating func replaceAll<S>(_ entities: S) where S : Sequence, S.Element : Entity

Parameters

  • entities:

    The sequence of entities that will replace the collection’s current contents.

Discussion