exists <boolean>. 通过检查文件系统来测试给定的路径是否存在。 然后使用true 或false 调用 callback 参数: import { exists } from 'node:fs'; exists('/etc/passwd ...
確定! 回上一頁