pepr (version 0.5.0)

.safeFileExists: Check whether the string is a valid URL or an existing local path

Description

Check whether the string is a valid URL or an existing local path

Usage

.safeFileExists(path)

Value

a logical indicating whether it's an existing path or valid URL

Arguments

path

string to be checked