Unlimited learning, half price | 50% off
Get 50% off unlimited learning

notebookutils (version 1.5.3)

mssparkutils.fs.exists: Check if a file or directory exists.

Description

Check if a file or directory exists.

Usage

mssparkutils.fs.exists(file)

Value

TRUE if the file or directory exists

Arguments

file

FileSystem URI

Examples

Run this code
if (FALSE) {
mssparkutils.fs.exists("/tmp/my-file")
}

Run the code above in your browser using DataLab