Contents

object(at:)

Returns the object at the specified index of the set.

Declaration

func object(at idx: Int) -> Any

Parameters

  • idx:

    The object located at index.

Return Value

If idx is beyond the end of the ordered set (that is, if index is greater than or equal to the value returned by count), an rangeException is raised.

See Also

Accessing Set Members