@salesforce/core
    Preparing search index...

    Function generateApiName

    • Generate an API name from a string. Matches what the UI does.

      Parameters

      • name: string

        name to be converted into a valid api name

      Returns string

      a valid api name