![]() |
VOOZH | about |
Lodash _.toLower() method is used to convert the entire string to lowercase. This function does not affect any of the special characters, digits, and alphabets that are already in the lowercase.
_.toLower( [string = '']);This method returns the lowercase string.
Example 1: In this example, we are converting the given value into all lowercase.
Output:
'geeks-for-geeks'
'#--geeksforgeeks--#'Example 2: In this example, we are converting the given value into all lowercase.
Output:
'hello geeks!'