contains(_:)
Returns a Boolean value that indicates whether the collection contains the specified entity identifier.
Declaration
func contains(_ identifier: Entity.ID) -> BoolReturn Value
true if the identifier is in the collection, or false if it isn’t.
Discussion
Parameter:
identifier: The identifier to look for in the collection.