Methods
encode(input) → {String|Null}
Attempts to encode a given input.
Parameters:
Name | Type | Description |
---|---|---|
input |
String | The string that needs to be encoded. |
Returns:
The encoded string.
- Type
- String | Null
mergeObjects(obj1, obj2)
Merge two objects into one
Parameters:
Name | Type | Description |
---|---|---|
obj1 |
||
obj2 |
Returns:
obj3 a new object based on obj1 and obj2
querystringify(obj, prefix) → {String}
Transform a query string to an object.
Parameters:
Name | Type | Description |
---|---|---|
obj |
Object | Object that should be transformed. |
prefix |
String | Optional prefix. |
Returns:
- Type
- String