CodeQL library for JavaScript
Search

Member predicate TemplateElement::getValue

Gets the “cooked” value of this template element, if any.

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

string getValue()