GetRandomElement (open)
Returns a random element from the given input array of values.
Syntax
LOADLIB "wh::util/algorithms.whlib";
VARIANT FUNCTION GetRandomElement(VARIANT input)
Parameters
VARIANT input
An array of values (all array types are supported)
Return value
VARIANT
A random element from the given input array.