MCPcopy
hub / github.com/josdejong/mathjs / getAllValues

Method getAllValues

test/typescript-tests/testTypes.ts:1258–1264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1256
1257 // additional method to get all values in the map
1258 getAllValues(): ValueType[] {
1259 const values: ValueType[] = []
1260 for (const key of this.keys()) {
1261 values.push(this.get(key))
1262 }
1263 return values
1264 }
1265 }
1266
1267 const customMap = new CustomMap()

Callers 1

testTypes.tsFile · 0.80

Calls 2

keysMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected