MCPcopy Create free account
hub / github.com/akshitagit/JavaScript / constructor

Method constructor

CollectionCounter/CollectionCounter.js:15–23  ·  view source on GitHub ↗

* Create a counter object that counts items of arbitrary types in a string, an array, or an iterable * in a manner that is similar to Python. Implementation uses the JS map data structure. * * @param iterable {string|any[]|Generator} An arbitrary iterable collection, be it an * a

(iterable)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected