I have a case where I'm reading a folder and storing the list of files in an array. I'd like to pick a random file from that list.
It would be nice if the random
node had the ability to accept 'From' and 'To' from the incoming message. In my case I'd be able to pass in the number of items in the array (instead of coding a function) to get a random number for the array.
Does this seem like a reasonable addition to the node and would a PR to add this functionality be welcome?