isFile function

bool isFile(
  1. String path
)

Returns true if the given path points to a file. If path is a link the link will be followed and we report on the resolved path.

isFile("~/fred.jpg");

Implementation

bool isFile(String path) => core.isFile(path);