See the dojox/lang/utils reference documentation for more information.
Coerces one object to the type of another.
Parameter | Type | Description |
---|---|---|
target | Object | object, which typeof result is used to coerce "source" object. |
source | Object | object, which will be forced to change type. |
Merge two objects structurally, mixin properties will override object's properties.
Parameter | Type | Description |
---|---|---|
object | Object | original object. |
mixin | Object | additional object, which properties will override object's properties. |
additional object, which properties will override object's properties.
Updates an existing object in place with properties from an "source" object.
Parameter | Type | Description |
---|---|---|
target | Object | the "target" object to be updated |
source | Object | the "source" object, whose properties will be used to source the existed object. |
conv | Boolean |
Optional force conversion to the original type |
the "target" object to be updated
Updates an existing object in place with properties from an "source" object.
Parameter | Type | Description |
---|---|---|
target | Object | the "target" object to be updated |
source | Object | the "source" object, whose properties will be used to source the existed object. |
pattern | Object | object, whose properties will be used to pull values from the "source" |
conv | Boolean |
Optional force conversion to the original type |
the "target" object to be updated