pick/1 | Randomly chooses one element from the list. |
string/0 | |
string/1 | |
uniform/1 | |
uniform/2 |
pick(List::[X, ...]) -> X
Randomly chooses one element from the list
string() -> nonempty_string()
string(Length::pos_integer()) -> nonempty_string()
uniform(Max::term()) -> non_neg_integer() | {error, {invalid_value, term()}}
uniform(Min::term(), Max::term()) -> non_neg_integer() | {error, {invalid_range, term(), term()}}
Generated by EDoc