Skip to content
Subhajit Sahu edited this page Dec 22, 2022 · 15 revisions

List all values.

Similar: randomValue, values, hasValue.


function values(x)
// x: entries
const entries = require('extra-entries');

var x = [["a", 1], ["b", 2], ["c", 3]];
[...entries.values(x)];
// → [ 1, 2, 3 ]


References

Clone this wiki locally