geoview-core - v2.2.0
    Preparing search index...

    Function camelCase

    • Converts a string to camelCase.

      Replaces hyphens (-), underscores (_), and spaces with capitalization of the following letter, and ensures the first character is lowercase.

      Parameters

      • str: string

        The input string to convert

      Returns string

      The camelCased version of the input string

      camelCase('my_tab-name'); // 'myTabName'
      camelCase('Hello World'); // 'helloWorld'