Function: isFile()
isFile(
path):Promise<boolean>
Checks if the given path points to a file.
Parameters
path
string
The path to check.
Returns
Promise<boolean>
A promise that resolves to a boolean indicating whether the path points to a file.
