set()

Set the value of a property on an object.

This function is valid in v2.0.0 to v2.2.0. This function has been downloaded 0 times.

Parameters

{*} obj
Object whose property will be set.
{string|undefined=} opt_name Optional, Default:undefined
Name of the property to be set.
{*=} opt_value Optional
Value to which the property will be set.

Returns

{*}
If all 3 arguments are given the previous property value will be returned. If one or more arguments are missing a partial function will be returned that will accept the remaining arguments.