RangeReplaceableCollection

extension RangeReplaceableCollection
  • Removes the first object that matches predicate.

    Declaration

    Swift

    mutating mutating func removeFirst(where predicate: (Element) throws -> Bool) rethrows