# Function formUrl

- formUrl(urlObj): string

- Form a url string from URL object

  #### Parameters

  - urlObj: {
    host: string;
    path: string;
    port: string;
    protocol: string;
    search: string;
    }

    object with URL info

    - ##### host: string

      host

    - ##### path: string

      path

    - ##### port: string

      port

    - ##### protocol: string

      protocol

    - ##### search: string

  #### Returns string

  url string

  - Defined in packages/xarc-app-dev/src/lib/utils.ts:28