File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/mout/queryString/contains.js
Back
var getQuery = require('./getQuery'); /** * Checks if query string contains parameter. */ function contains(url, paramName) { var regex = new RegExp('(\\?|&)'+ paramName +'=', 'g'); //matches `?param=` or `¶m=` return regex.test(getQuery(url)); } module.exports = contains;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings