prop()
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.obj[opt_name]
references a function it will be called to get the property value.obj
and opt_name
are given, the property obj[opt_name]
will be returned. If opt_name
is not given a partial function is returned which will await the value of opt_name
. If the property to be returned is a function it will be evaluated and the return value will be returned instead.