# Function Reference

# _WinAPI_UrlIs

Tests whether or not a URL is a specified type

#include <WinAPIShPath.au3>
_WinAPI_UrlIs ( $sUrl [, $iType = $URLIS_URL] )

## Parameters

$sUrl | The URL.
$iType | [optional] The type of URL to be tested for. It can be one of the following values. $URLIS_APPLIABLE $URLIS_DIRECTORY $URLIS_FILEURL $URLIS_HASQUERY $URLIS_NOHISTORY $URLIS_OPAQUE $URLIS_URL (Default)

## Return Value

Success: | True - The URL is the specified type.
Failure: | False.

## See Also

Search UrlIs in MSDN Library.