Variable: funcs
const funcs: object;
Type declaration
deepMerge()
deepMerge: {
<T, U>  (target, source): T & U;
<T, U, V>  (target, middle, source): T & U & V;
};
Call Signature
<T, U>(target, source): T & U;
Deep merges two or three objects.
Type Parameters
| Type Parameter | 
|---|
T | 
U | 
Parameters
| Parameter | Type | Description | 
|---|---|---|
target | T | |
source | U | 
Returns
T & U
Call Signature
<T, U, V>(
   target, 
   middle, 
   source): T & U & V;
Deep merges two or three objects.
Type Parameters
| Type Parameter | 
|---|
T | 
U | 
V | 
Parameters
| Parameter | Type | Description | 
|---|---|---|
target | T | |
middle | U | |
source | V | 
Returns
T & U & V
geocode()
geocode: (query, callback) => boolean;
Parameters
| Parameter | Type | 
|---|---|
query | any | 
callback | any | 
Returns
boolean
getNestedValue()
getNestedValue: (obj, path) => any;
Gets a nested value from an object using dot or PHP-style bracket notation.
Parameters
| Parameter | Type | Description | 
|---|---|---|
obj | any | The object to traverse. | 
path | string | The path string (e.g. 'a.b.c' or 'a[b][c]'). | 
Returns
any
The value at the nested path, or undefined if not found.
Example
getNestedValue(obj, 'a.b.c')
getNestedValue(obj, 'a[b][c]')
splitObjectAndField()
splitObjectAndField: (fields) => object;
Parameters
| Parameter | Type | 
|---|---|
fields | string | 
Returns
object
field
field: string;
object
object: string;
throttle()
throttle: (method, delay, scope, params) => void;
Throttles a function call by a delay.
Parameters
| Parameter | Type | Description | 
|---|---|---|
method | any | |
delay | any | |
scope | any | |
params | any | 
Returns
void