We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Pick an arbitrary value.
Similar: randomValue, values, hasValue.
function randomValue(x, fr) // x: entries // fr: random number generator ([0, 1))
const entries = require('extra-entries'); var x = [["a", 1], ["b", 2], ["c", 3]]; entries.randomValue(x); // → 3 entries.randomValue(x); // → 2