attributeExistsSelector returns a Selector that matches elements that have an attribute named key.
(key string)
| 157 | // attributeExistsSelector returns a Selector that matches elements that have |
| 158 | // an attribute named key. |
| 159 | func attributeExistsSelector(key string) Selector { |
| 160 | return attributeSelector(key, func(string) bool { return true }) |
| 161 | } |
| 162 | |
| 163 | // attributeEqualsSelector returns a Selector that matches elements where |
| 164 | // the attribute named key has the value val. |
no test coverage detected
searching dependent graphs…