Instance Method

insert(_:)

Insert an integer into the IndexSet.

Declaration

@discardableResult mutating func insert(_ integer: IndexSet.Element) -> (inserted: Bool, memberAfterInsert: IndexSet.Element)

Relationships

From Protocol

See Also

Inserting Elements

func insert(integersIn: Range<IndexSet.Element>)

Insert a range of integers into the IndexSet.