@rvoh/dream
    Preparing search index...

    Function camelize

    • Converts a string or the keys of an object to camelCase.

      Examples: camelize('HelloWorld-how-are-you') // 'helloWorldHowAreYou' camelize('hello_world') // 'helloWorld' camelize('HelloWorld-how-are---you') // 'helloWorldHowAreYou' camelize({ hello_world: 'how_are_you' }) // { helloWorld: 'how_are_you' }

      Type Parameters

      • const T
      • RT

      Parameters

      • target: T

        The string or object to camelize

      Returns RT

      The camelized string or object