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: lists // fr: random number generator ([0, 1))
const xlists = require('extra-lists'); var x = [['a', 'b', 'c'], [1, 2, 3]]; xlists.randomValue(x); // → 3 xlists.randomValue(x); // → 2