byond - Modules - Types

code/__HELPERS/lists.dm

/proc/is_type_in_list Checks if the needle atom is any type in the type_list
/proc/is_path_in_list Checks if the needle path derives from any in the path_list
/proc/pick_n_take Pick a random element from the list and remove it from the list.
/proc/mergeListsSum Sums values in two associative lists, from mergee into result, in place
/proc/sort_list_dist Returns a list of atoms sorted by each entry's distance to target.
/proc/reverse_range replaces reverseList ~Carnie