CodeQL library for JavaScript
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()