Always returns true. Useful as a ready-to-use callback.

f

const fileExists = await fs.promises.access(path).then(t, f);
  • Returns true

    true