-
<inner> clone(object) → {Object}
-
Clones an object
Parameters:
Name |
Type |
Description |
object |
Object
|
|
- Source:
-
Returns:
target
-
Type
-
Object
-
<inner> entries(object) → {Iterator}
-
The entries() method returns a new Iterator that contains the key/value pairs for each index in the Object.
Parameters:
Name |
Type |
Description |
object |
Object
|
Map
|
|
- Source:
-
Returns:
-
Type
-
Iterator
-
<inner> filter(object, callback, thisArg) → {Object}
-
The filter() method creates a new object with all elements that pass the test implemented by the provided function.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
thisArg |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
Object
-
<inner> filterKeys(object, keys) → {Object}
-
Filter an object by the keys
Parameters:
Name |
Type |
Description |
object |
Object
|
|
keys |
Array
|
|
- Source:
-
Returns:
-
Type
-
Object
-
<inner> find(object, callback, thisArg) → {*}
-
The find() method returns a value in the object,
if an element in the object satisfies the provided testing function. Otherwise undefined is returned.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
thisArg |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
*
-
<inner> findIndex(object, callback, thisArg) → {String|undefined}
-
The findIndex() method returns an key in the object,
if an element in the object satisfies the provided testing function. Otherwise undefined is returned.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
thisArg |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
String
|
undefined
-
<inner> forEach(object, callback, thisArg) → {*}
-
The forEach() method executes a provided function once per object element.
Parameters:
Name |
Type |
Description |
object |
Object
|
Map
|
|
callback |
function
|
|
thisArg |
*
|
|
- Source:
-
Returns:
-
Type
-
*
-
<inner> join(object, separator) → {String}
-
The join() method joins all elements of an object into a string.
Parameters:
Name |
Type |
Description |
object |
Object
|
|
separator |
String
|
|
- Source:
-
Returns:
-
Type
-
String
-
<inner> map(object, callback, thisArg) → {*}
-
The map() method creates a new object with the results of calling a provided function on every element in this object.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
thisArg |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
*
-
<inner> mapJoin(object, keys) → {Object}
-
Same a map + join
Parameters:
Name |
Type |
Description |
object |
Object
|
|
keys |
Array
|
|
- Source:
-
Returns:
-
Type
-
Object
-
<inner> reduce(object, callback, initialValue) → {*}
-
The reduce() method applies a function against an accumulator
and each value of the object (from left-to-right) has to reduce it to a single value.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
initialValue |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
*
-
<inner> reduceRight(object, callback, initialValue) → {*}
-
The reduceRight() method applies a function against an accumulator
and each value of the object (from right-to-left) as to reduce it to a single value.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
initialValue |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
*
-
<inner> some(object, callback, thisArg) → {Boolean}
-
The some() method tests whether some element in the object passes the test implemented by the provided function.
Parameters:
Name |
Type |
Argument |
Description |
object |
Object
|
|
|
callback |
function
|
|
|
thisArg |
*
|
<optional>
|
|
- Source:
-
Returns:
-
Type
-
Boolean
-
<inner> toMap(object) → {Map}
-
Transforms an object into a Map
Parameters:
Name |
Type |
Description |
object |
Object
|
Map
|
|
- Source:
-
Returns:
-
Type
-
Map
-
<inner> union(target, object) → {Object}
-
Same as Object.assign, but doesn't override the value if !== undefined
Parameters:
Name |
Type |
Description |
target |
Object
|
|
object |
Object
|
|
- Source:
-
Returns:
target
-
Type
-
Object