Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
matches(_:_:)
Evaluator.swift:110override func matches(_ root: Element, _ element: Element) -> Bool
override func matches(_ root: Element, _ element: Element) -> Bool
s9SwiftSoup9EvaluatorC5ClassC7matchesySbAA7ElementC_AHtF
What are these?6XLZ4
import SwiftSoup
final class Class
Evaluator for element class
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.
init(_ className: String)
override func toString() -> String