Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 566 Bytes

File metadata and controls

20 lines (14 loc) · 566 Bytes

Inclusion

Check if one sorted sequence is completely contained in another. Can also determine the degree of overlap between two sorted sequences. The sort criteria is a user-supplied predicate. The predicate can be omitted to default to the less-than operator.

Topics

Inclusion

  • Swift/Sequence/includes(sorted:sortedBy:)
  • Swift/Sequence/includes(sorted:)
  • Swift/Sequence/overlap(withSorted:stoppingFor:sortedBy:)
  • Swift/Sequence/overlap(withSorted:stoppingFor:)

Supporting Types

  • OverlapDegree
  • OverlapHaltCondition