Arduino Function: FileIO.FileSystem.open

Description

This function tests whether a file or directory exists on the SD card. This communicates with the Linux distribution through Bridge. While functionally similar to the SD library, the underlying code and hardware connections are different.

Syntax

FileSystem.exists(filename)

Parameters

filename: the name of the file to test for existence, which can include directories (delimited by forward-slashes, /)

Returns

 boolean : true if the file or directory exists, false if not


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc