About Pi Downloads Documentation Plugins Developer Forum Issues

Array.count

Summary

Return the number of times given value appers in the array.

Syntax

Array.count(value)

Example

>>> var list = [3,5,7,9,3,7]
>>> list.count(3)
2
>>> list.count(5)
0

See Also