CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (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()