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

Predicate DataFlow::PseudoProperties::mapValueKnownKey

Gets a pseudo-property for the location of a map value where the key is key. The string value of the key is encoded in the result, and there is only a result if the string value of key is known.

Import path

import javascript
string mapValueKnownKey(Node key)