Function toLowerCase

Converts a string to lowercase returning LowerCase as type

toLowerCase('Hello, world!') // 'hello, world!'
  • Type Parameters

    • S extends string

      The string type.

    Parameters

    • s: S

      The string to convert.

    Returns Lowercase<S>

    The converted string.