CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.10-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)