FilterCursor

public final class FilterCursor<Base : Cursor> : Cursor

A cursor whose elements consist of the elements of some base cursor that also satisfy a given predicate.

  • Advances to the next element and returns it, or nil if no next element exists.

    Declaration

    Swift

    public func next() throws -> Base.Element?