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

    Function formatNameWithPrefix

    • Formats a name with a prefix. Accepts either a string or an object with firstName and lastName.

      Parameters

      • name: string | Name

        The name to format, either as a string or an object.

      • prefix: "Mr" | "Mrs" | "Ms" | "Dr"

        A prefix to prepend (e.g., "Dr", "Ms", "Mr").

      Returns string

      A formatted string in the form of ". ".