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

Predicate isGeneratedFileName

Holds if the base name of f is a number followed by a single extension.

Import path

import semmle.javascript.GeneratedCode
predicate isGeneratedFileName(File f)