CodeQL library for JavaScript
Search

Predicate RegExp::isGlobal

Holds if flags includes the g flag.

Import path

import javascript
predicate isGlobal(string flags)