CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)

Member predicate PathString::getStem

Gets stem of the folder or file this path refers to, that is, the prefix of its base name up to (but not including) the last dot character if there is one, or the entire base name if there is not

string getStem()