Function getFilePath

Retrieves the file path from the given URL.

  • If the URL is empty or undefined.
  • Parameters

    • url: string

      The URL from which to retrieve the file path.

    Returns string

    • The file path extracted from the URL.