CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1 (changelog, source)
Search

Predicate DOM::isInvalidHtmlIdAttributeValue

Holds if attr is an invalid id attribute because of reason.

Import path

import javascript
predicate isInvalidHtmlIdAttributeValue(AttributeDefinition attr, string reason)