Variable FileStat.isDirectory

True if a file is a directory

struct FileStat
{
  // ...
  bool isDirectory ;
  // ...
}