async function isDirExisted()

in scripts/sync-docs.js [215:220]


async function isDirExisted(p) {
  return fs
    .stat(p)
    .then((v) => v.isDirectory())
    .catch(() => false);
}