MCPcopy
hub / github.com/PuerkitoBio/goquery / Intersection

Method Intersection

filter.go:74–76  ·  view source on GitHub ↗

Intersection is an alias for FilterSelection.

(sel *Selection)

Source from the content-addressed store, hash-verified

72
73// Intersection is an alias for FilterSelection.
74func (s *Selection) Intersection(sel *Selection) *Selection {
75 return s.FilterSelection(sel)
76}
77
78// Has reduces the set of matched elements to those that have a descendant
79// that matches the selector.

Callers 2

TestIntersectionFunction · 0.80
TestIntersectionRollbackFunction · 0.80

Calls 1

FilterSelectionMethod · 0.95

Tested by 2

TestIntersectionFunction · 0.64
TestIntersectionRollbackFunction · 0.64