Function startCase

  • Converts string to start case.

    Differences from lodash:

    • requires string to be a string

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 6,730 bytes
    • Micro-dash: 321 bytes

    Parameters

    • string: string

    Returns string