MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / hasClass

Function hasClass

lib/Viewer/index.js:986–991  ·  view source on GitHub ↗

* Check if the given element has a special class. * @param {Element} element - The element to check. * @param {string} value - The class to search. * @returns {boolean} Returns `true` if the special class was found.

(element, value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

index.jsFile · 0.85
onImageTransitionEndFunction · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected