Skip to main content

CommonURLHasExtension

Callable

  • CommonURLHasExtension(TestURL: string, Extension: readonly string[]): boolean

  • Returns TRUE if the URL is valid, is from http or https or screens/ or backgrounds/ and has the required extension


    Parameters

    • TestURL: string

      The URL to test

    • Extension: readonly string[]

      An array containing the valid extensions

    Returns boolean