Library API
    Preparing search index...

    Function toProperCase

    • Converts a string to proper case, where the first letter of every word is capitalized.

      Type Parameters

      • T extends string

      Parameters

      • ...str: T[]

        The strings to convert (can be multiple arguments or an array)

      Returns T

      The proper-cased string

      toProperCase('hello world'); // 'Hello World'