Let's say I have a hash table (using array maker) that contains 10 people (keys) with a bool value that represents whether or not each one is wearing a hat.
Of all the people (Keys) in the table, I would like to select one that is wearing a hat (Bool is true) at random.
Thanks,
Sam