Skip to contents

Checks if a given url is valid and available.

Usage

url_file_exists(url, status_ok = 200)

Arguments

url

The resource url to check.

status_ok

The list of valid header statuses.

Value

The result of evaluating the expression or NULL in case of error.