Predicate apiGraphHasEdge
Holds if the edge pred -> succ
labelled with path
exists in the API graph.
Import path
import semmle.javascript.frameworks.data.internal.ApiGraphModelsSpecific
predicate apiGraphHasEdge(Node pred, string path, Node succ)