codeql/javascript-all
1.1.2-dev
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
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.
value
promise
prop
valueProp()
errorProp()
import javascript
predicate loadStep(Node promise, Node value, string prop)