MCPcopy Index your code
hub / github.com/josdejong/mathjs / forEach

Method forEach

src/utils/map.js:46–50  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

44 }
45
46 forEach (callback) {
47 for (const key of this.keys()) {
48 callback(this.get(key), key, this)
49 }
50 }
51
52 delete (key) {
53 if (isSafeObjectProperty(this.wrappedObject, key)) {

Callers

nothing calls this directly

Calls 3

keysMethod · 0.95
getMethod · 0.95
callbackFunction · 0.50

Tested by

no test coverage detected