string-instrument
    Preparing search index...

    Function pascalise

    • Converts a string of words to remove spaces or underscores and capitalise each word including the first (UpperCamelCase or PascalCase). To make the first word start with a lowercase character, use the camelise function instead.

      Parameters

      • words: string

        a space or underscore separated string to be converted to pascal case.

      Returns string

      a pascal case version of words.