MCPcopy
hub / github.com/browserslist/browserslist / isArg

Function isArg

cli.js:25–29  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

23 ' npx browserslist --ignore-unknown-versions\n'
24
25function isArg(arg) {
26 return args.some(function (str) {
27 return str === arg || str.indexOf(arg + '=') === 0
28 })
29}
30
31function error(msg) {
32 process.stderr.write('browserslist: ' + msg + '\n')

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…