Count how many items in an array or an object pass a given tester function.
This function is valid in
v2.1.0 to v2.18.1.
This function has been downloaded 17 times.
If this is an array or an object all of the items that pass the
tester function will be counted. If this is a string all of the characters that pass the
tester function will be counted.
Function that will take in (1) each value, (2) the corresponding key, and (3) a reference to
arrOrObj. If the function returns a
true-ish value the count will be incremented.
Indicates whether or not all items, including the non-owned ones, should be traversed and included in the count.
The number of times
tester returned a
This function requires the following functions which are included automatically:
Traverses all the characters in a string or all of the items in an array or an object, executing a function on each one.
Either gets the type of a value or adds a constructor registering its custom type name.