CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.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)