Hex Core JS
    Preparing search index...

    Function convertCase

    Index

    Methods

    • Converts the given text to camelCase. Shorthand for convertCase(text, CaseStyle.Camel). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to InitCaps case. Shorthand for convertCase(text, CaseStyle.InitCaps). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to kebab-case. Shorthand for convertCase(text, CaseStyle.Kebab). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to PascalCase. Shorthand for convertCase(text, CaseStyle.Pascal). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to plain case. Shorthand for convertCase(text, CaseStyle.Plain). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to sentence case. Shorthand for convertCase(text, CaseStyle.Sentence). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to snake_case. Shorthand for convertCase(text, CaseStyle.Snake). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string

    • Converts the given text to Title Case. Shorthand for convertCase(text, CaseStyle.Title). See convertCase.

      Parameters

      • text: string

        The text to convert.

      Returns string