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

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