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

    Function lowerCase

    • Convert string to lowercase

      将字符串转换为小写

      Parameters

      • str: string

        要转换的字符串

      Returns string

      转换后的小写字符串,单词之间用空格分隔

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