values()

Gets an array of all of the values within a given array or object.

This function is valid in v2.1.0 to v2.7.0. This function has been downloaded 0 times.

Parameters

{Array|Object} arrOrObj
Array or object containing all of the values that will be returned.
{boolean=} opt_includeInheritance Optional, Default:false
Indicates whether or not even the inherited values should be returned.

Returns

{Array}
An array of all of the values in arrOrObj.

Required Function

This function requires the following function which is included automatically:

  • forOf()
    Traverses all the characters in a string or all of the items in an array or an object, executing a function on each one.