propOf()

Gets the value of a property.

This function is valid in v2.2.0 to v2.24.3. This function has been downloaded 60 times.

Parameters

{string} name
Name of the property to get. If obj[opt_name] references a function it will be called to get the property value.
{Object=} opt_obj Optional
Object whose property will be retrieved.

Returns

{Function|*}
If both opt_obj and name are given, the property opt_obj[name] will be returned. If opt_obj is not given a partial function is returned which will await the value of opt_obj. If the property to be returned is a function it will be evaluated and the return value will be returned instead.