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

Member predicate AbstractValue::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()