Predicate NodeJSLib::isCreateServer
Holds if call is an invocation of http.createServer or https.createServer.
Import path
import semmle.javascript.frameworks.NodeJSLibpredicate isCreateServer(CallNode call)Holds if call is an invocation of http.createServer or https.createServer.
import semmle.javascript.frameworks.NodeJSLibpredicate isCreateServer(CallNode call)