@pathmaker-digital/pmd-utilities - v2.2.6
    Preparing search index...

    Function mergeFullName

    • Merges separate first and last name together into a unified string.

      Parameters

      • firstName: string

        The first name to merge.

      • lastName: string

        The surname to merge.

      • format: boolean = true

        Whether or not to format the output by capitalizing the first letter of the names. Optional and defaults to true.

      Returns string

      A string comprised of merged first and last name.