MCPcopy Create free account
hub / github.com/developit/undom / createAttributeFilter

Function createAttributeFilter

src/util.js:21–23  ·  view source on GitHub ↗
(ns, name)

Source from the content-addressed store, hash-verified

19}
20
21export function createAttributeFilter(ns, name) {
22 return o => o.ns===ns && toLower(o.name)===toLower(name);
23}

Callers 3

setAttributeNSMethod · 0.90
getAttributeNSMethod · 0.90
removeAttributeNSMethod · 0.90

Calls 1

toLowerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…