Contents

contains(_:)

Returns a Boolean value that indicates whether a given object is present in the ordered set.

Declaration

func contains(_ object: Any) -> Bool

Parameters

  • object:

    The object for which to test membership of the ordered set.

Return Value

YES if object is present in the set, otherwise false.

See Also

Accessing Set Members