NewDash

    Function camelCase

    • Converts string to camel case.

      Parameters

      • s: string

        The string to convert.

      Returns string

      Returns the camel cased string.

      5.5.0

      [[lowerCase]], [[kebabCase]], [[snakeCase]], [[startCase]], [[upperCase]], [[upperFirst]]

      camelCase('Foo Bar')
      // => 'fooBar'

      camelCase('--foo-bar--')
      // => 'fooBar'

      camelCase('__FOO_BAR__')
      // => 'fooBar'
    MMNEPVFCICPMFPCPTTAAATR