MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / values

Method values

lib/host.js:610–617  ·  view source on GitHub ↗

* Returns a shallow copy of the values of the map. * @returns {Array. }

()

Source from the content-addressed store, hash-verified

608 * @returns {Array.<Host>}
609 */
610 values() {
611 if (!this._values) {
612 // Cache the values
613 this._values = Object.freeze(Array.from(this._items.values()));
614 }
615
616 return this._values;
617 }
618
619 /**
620 * Removes all items from the map.

Callers 3

constructorMethod · 0.95
sliceMethod · 0.95
clearMethod · 0.95

Calls 2

fromMethod · 0.80
valuesMethod · 0.65

Tested by

no test coverage detected