@pengzhanbo/utils - v3.7.3
    Preparing search index...

    Function lowerCase

    • Convert string to lowercase

      将字符串转换为小写

      Parameters

      • str: string

        The string to convert. 要转换的字符串

      Returns string

      The lowercase string with words separated by spaces. 转换后的小写字符串,单词之间用空格分隔

      lowerCase('Hello World') // => 'hello world'
      lowerCase('HELLO WORLD') // => 'hello world'
      lowerCase('order-by') // => 'order by'