diff --git a/osbot_utils/utils/Lists.py b/osbot_utils/utils/Lists.py index 4f228a38..8ce110c8 100644 --- a/osbot_utils/utils/Lists.py +++ b/osbot_utils/utils/Lists.py @@ -32,6 +32,10 @@ def not_empty(list): def empty(list): return not Lists.not_empty(list) + @staticmethod + def lower(input_list): + return [item.lower() for item in input_list] + @staticmethod def tuple_to_list(target:tuple): if type(target) is tuple: @@ -67,6 +71,7 @@ def list_dict_insert_field(target_list, new_key, insert_at, new_value=None): list_del = Lists.delete list_empty = Lists.empty list_first = Lists.first +list_lower = Lists.lower list_not_empty = Lists.not_empty list_to_tuple = Lists.list_to_tuple