Optional value: anyStatic assignCopy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
The target object to copy to.
Rest ...sources: any[]One or more source objects from which to copy properties
Static createCreates an object that has the specified prototype or that has null prototype.
Object to use as a prototype. May be null.
Creates an object that has the specified prototype, and that optionally contains specified properties.
Object to use as a prototype. May be null
JavaScript object that contains one or more property descriptors.
Static deepThe deepCopy function in TypeScript creates a deep copy of an object using JSON parsing and
stringifying.
The obj parameter in the deepCopy function is the object that you want to
create a deep copy of.
A deep copy of the input object obj is being returned. The JSON.stringify method is
used to serialize the object into a JSON string, and then JSON.parse is used to parse the JSON
string back into a new object, effectively creating a deep copy of the original object.
Static defineAdds one or more properties to an object, and/or modifies attributes of existing properties.
Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.
JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.
Static defineAdds a property to an object, or modifies attributes of an existing property.
Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.
The property name.
Descriptor for the property. It can be for a data property or an accessor property.
Static entriesReturns an array of key/values of the enumerable properties of an object
Returns an array of key/values of the enumerable properties of an object
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Static freezePrevents the modification of existing property attributes and values, and prevents the addition of new properties.
Object on which to lock the attributes.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Object on which to lock the attributes.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Object on which to lock the attributes.
Static fromReturns an object created by key-value entries for properties and methods
An iterable object that contains key-value entries for properties and methods.
Returns an object created by key-value entries for properties and methods
An iterable object that contains key-value entries for properties and methods.
Static getGets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
Object that contains the property.
Name of the property.
Static getReturns an object containing all own property descriptors of an object
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Static getReturns the names of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
Object that contains the own properties.
Static getStatic getStatic hasThe function hasOwnProperty checks if a given object has a specific property key.
obj is an object of type Record<string, any>, which means it is a generic object
where the keys are strings and the values can be of any type.
The key parameter in the hasOwnProperty function is a string
representing the property key that you want to check for existence in the obj object.
The hasOwnProperty function is returning a boolean value, which indicates whether the
obj has the specified key as its own property.
Static isStatic isThe function isEmpty checks if a given object is empty by verifying if it has no keys.
The obj parameter is a TypeScript object with string keys and values of any type.
The function isEmpty is returning a boolean value, which indicates whether the input
object obj is empty (i.e., it has no own enumerable string-keyed properties).
Static isStatic isStatic isThe function isNotEmpty checks if a given object is not empty using the isEmpty function from
ObjectUtils.
The obj parameter in the isNotEmpty function is expected to be an object of type
Record<string, any>, which means it is an object where the keys are strings and the values can
be of any type.
The isNotEmpty function is returning a boolean value. It checks if the input object
obj is not empty using the ObjectUtils.isEmpty function and returns the negation of that
result.
Static isStatic keysReturns the names of the enumerable string properties and methods of an object.
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Returns the names of the enumerable string properties and methods of an object.
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Static mergeThe merge function in TypeScript merges multiple objects into a single object using
Object.assign.
Rest ...objects: Record<string, any>[]The objects parameter is an array of objects where each
object represents key-value pairs.
The merge function is returning a new object that is a result of merging all the
objects passed as arguments into a single object using Object.assign().
Static preventStatic sealStatic setStatic valuesReturns an array of values of the enumerable properties of an object
Returns an array of values of the enumerable properties of an object
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Generated using TypeDoc
The initial value of Object.prototype.constructor is the standard built-in Object constructor.