Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
matches(_:_:)
Evaluator.swift:361override func matches(_ root: Element, _ element: Element) throws -> Bool
override func matches(_ root: Element, _ element: Element) throws -> Bool
s9SwiftSoup9EvaluatorC16IndexGreaterThanC7matchesySbAA7ElementC_AHtKF
What are these?5OA0V
import SwiftSoup
final class IndexGreaterThan
Evaluator for matching by sibling index number (e {@literal >} idx)
class Evaluator
Evaluates that an element matches the selector.
class Element
@frozen struct Bool
A value type whose instances are either true
or false
.
func matches(_ root: Element, _ element: Element) throws -> Bool
Test if the element meets the evaluator’s requirements.
override init(_ index: Int)
override func toString() -> String