util::random_list_element (public)
util::random_list_element list
Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Returns a random element from the list.
- Parameters:
- list (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_mail_lite_inbound_procs_check
Source code: set len [llength $list] set idx [expr {int(rand() * $len)}] return [lindex $list $idx]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-tcl/tcl/utilities-procs.xql