byond - Modules - Types

code/__HELPERS/lists.dm

/proc/is_type_in_listChecks if the needle atom is any type in the type_list
/proc/is_path_in_listChecks if the needle path derives from any in the path_list
/proc/pick_n_takePick a random element from the list and remove it from the list.
/proc/mergeListsSumSums values in two associative lists, from mergee into result, in place
/proc/sort_list_distReturns a list of atoms sorted by each entry's distance to target.
/proc/reverse_rangereplaces reverseList ~Carnie