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

Member predicate IndefiniteFunctionOrClass::toPrimitive

Gets an abstract primitive value this abstract value coerces to.

This abstractly models the ToPrimitive coercion described in the ECMAScript language specification.

PrimitiveAbstractValue toPrimitive()