CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-dev (changelog, source)
Search

Predicate ServerLess::splitHandler

Holds if handler = filePart . astPart and filePart does not contain a .. This is a convenience predicate, as in many cases the first part of the handler property should be interpreted as (the stem of) a file name.

Import path

import codeql.serverless.ServerLess
predicate splitHandler(string handler, string filePart, string astPart)