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