Sequence
extension Sequence where Element: NodeIDProtocol
-
Returns a sequence containing, in order, the elements of
selfthat are IDs of aSubject.Declaration
Swift
public func filter<Subject: Node>( _: Subject.Type ) -> LazyMapSequence<LazyFilterSequence<LazyMapSequence<Self, Subject.ID?>>, Subject.ID> -
Returns the unique element in
selfthat is an ID ofSubject, if any.Declaration
Swift
public func unique<Subject>(_ s: Subject.Type) -> Subject.ID? where Subject : Node
View on GitHub