-
Notifications
You must be signed in to change notification settings - Fork 1
Sequence
kevnm67 edited this page Sep 23, 2021
·
1 revision
Whether all elements of the collection match the given condition.
func all(matching condition: (Element) throws -> Bool) rethrows -> Bool - condition: Condition to evaluate all elements.
Whether no elements match the given condition.
func none(matching condition: (Element) throws -> Bool) rethrows -> Bool - condition: Condition to evaluate each element.
Whether any element matches the given condtion.
func any(matching condition: (Element) throws -> Bool) rethrows -> Bool - condition: Condition to evaluate all elements.
Remove all elements matching the given condition. Returns all non-matching elements.
func reject(where condition: (Element) throws -> Bool) rethrows -> [Element] - condition: Condition to evaluate all elements.
Sum of all elements in the given sequence.
func sum() -> Element Generated at 2023-04-13T21:24:51+0000 using swift-doc 1.0.0-rc.1.