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

Predicate PromiseFlow::loadStep

Holds if there is a step for loading a value from a promise. prop is either valueProp() if the value is a resolved value, or errorProp() if the promise has been rejected.

Import path

import javascript
predicate loadStep(Node promise, Node value, string prop)