An enumeration containing strings that represent the actual type of an object.
Returns "[object Array]"
.
Returns "[object Boolean]"
.
Returns "[object Date]"
.
Returns "[object Function]"
.
Returns "[object Null]"
.
Returns "[object Number]"
.
Returns "[object Object]"
.
Returns "[object RegExp]"
.
Returns "[object String]"
.
Returns "[object Undefined]"
.
Creates a new object that is a shallow or deep copy of the current instance.
The type of the cloned object.
The object to clone.
A flag specifying whether the result should be a deep copy or not.
Recursivelly merge the contents of two or more objects together into the first object.
The type of the object to merge into.
An object that will receive the new properties.
An object containing additional properties to merge in.
A list of arguments that consists of more objects that contain additional properties to merge in.
Merge the contents of two or more objects together into the first object.
The type of the object to merge into.
An object that will receive the new properties.
An object containing additional properties to merge in.
A list of arguments that consists of more objects that contain additional properties to merge in.
Creates a new data object that is a deep data copy of the current instance.
Non-data property values (functions or undefined) are NOT copied. In arrays any non-copy value is left as null
so as to preserve the original indexing.
The type of the cloned object.
The data object to clone.
Returns the actual type of an object (unlike typeof
), see Types.
The object to test.
Returns true
if an object is empty (contains no enumerable properties).
The object to test.
Returns true
if an object is an object instance with language type of [[Types.Object]].
The object to test.
Returns true
if an object's type matches the given type argument.
A string indicating the expected type of the object, i.e. "Array"
, "RegExp"
, etc.
The object to check for matching type.
Maps the given object's values as keys with their keys as values and returns the extended object.
Throws an error if the operation results in key duplication or keys with 'undefined' or 'null' values.
The type of object to update.
The object to update with the mapped unique values as keys.
A new object with all of the original and inverted properties.
Removes all properties with null
, undefined
or ""
values.
The type of the object to remove from.
The object to remove from.
Optional flag specifying whether the removal should be recursive.
The same object instance without null
, undefined
or ""
elements.
Removes all properties with falsy values (null
, undefined
, ""
or 0
).
The type of the object to remove from.
The object to remove from.
Optional flag specifying whether the removal should be recursive.
The same object instance without falsy elements.
Removes all properties with null
or undefined
values.
The type of the object to remove from.
The object to remove from.
Optional flag specifying whether the removal should be recursive.
The same object instance without null
or undefined
elements.
Generated using TypeDoc
A core namespace which contains utility methods for general purpose operations and more specialized utility sub-modules.