• Converts an 18 character Salesforce ID to 15 characters.

    Parameters

    • id: string

      The id to convert.

    Returns string

  • Parameters

    • Optional id: undefined

    Returns undefined

  • Parameters

    • id: undefined | string

    Returns string | undefined