var/www/node_modules/empty-dir/index.js
/**
 * Returns true if the filepath exists and is a directory
 */
Returns true if the filepath exists and is a directory
Returns true if the filepath exists and is a directory
function isDirectory(filepath) {
  try {
    return fs.statSync(filepath).isDirectory();
  } catch (err) {}
  return false;
}
function isDirectory ( filepath ) { try { return fs . statSync ( filepath ) . isDirectory ( ) ; } catch ( err ) { } return false ; }
Returns true if the filepath exists and is a directory
Returns true if the filepath exists and is a directory