Namespace: Basic:isUrlSearchParams

Basic:isUrlSearchParams

Source:

Methods

isUrlSearchParams(value) → {Boolean}

Returns if a value is an URLSearchParams object.

Parameters:
Name Type Description
value *

the value to check

Source:
Returns:
true if value is a URLSearchParams object
Type
Boolean
Example
if( isUrlSearchParams(val) ){
  val.set('query', 'foobar');
}