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

Member predicate TemplateElement::hasValue

Holds if this template element has a “cooked” value.

Starting with ECMAScript 2018, tagged template literals may contain elements with invalid escape sequences, which only have a raw value but no cooked value.

predicate hasValue()