UrlQuery.has
has($fieldName) -> boolean
Description
Return true
if the query contains the given param.
$query = url'/page?foo=123&bar=test'.getQuery() $query.has('bar') //= true $query.has('no') //= false
Return true
if the query contains the given param.
$query = url'/page?foo=123&bar=test'.getQuery() $query.has('bar') //= true $query.has('no') //= false