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

Class PrimitiveType

A primitive type (that is, one of null, undefined, boolean, number or string) inferred by the flow analysis.

Import path

import semmle.javascript.dataflow.InferredTypes

Direct supertypes

Indirect supertypes

Predicates

getTypeofTag

Gets the typeof tag corresponding to this type.

toString

Gets a textual representation of this element.

Charpred