Write a Python code to convert a given list of strings to all lowercase.
['CoDE', 'OF', 'LinK']
def to_lowercase(strings):
    return [string.lower() for string in strings]
    
result = to_lowercase(['CoDE', 'OF', 'LinK'])
print(result)