byond - Modules - Types

code/__HELPERS/sanitize_values.dm

/proc/sanitize_islist Makes sure value is a list Args: value - The list we're ensuring is actually a list default - The set default that will be given as fallback. required_amount - The required length of value for it to be valid, otherwise will continue to check for a fallback default. check_valid - If we should check if the values are all in the list of possible inputs possible_input_list - The list of possible valid inputs this list can hold, only gets checked if check_valid is TRUE
/proc/sanitize_is_full_emote_list Sanitize the custom emote list
/proc/sanitize_inlist_tts a wrapper with snowflake handling for tts