Array

extension Array: Monotonic where Element: Monotonic
extension Array where Element: Equatable

Available where Element: Monotonic

Available where Element: Equatable

  • Appends to self the elements in s that not contained in self.

    Complexity

    O(m * n) where m is the length of s and n is the length of self.

    Declaration

    Swift

    fileprivate mutating func append<S>(disjointContentsOf s: S) where Element == S.Element, S : Sequence