Skip to main content
CopyOptionsBase.errorOnExist - fs - Node documentation
property CopyOptionsBase.errorOnExist

Usage in Deno

import { type CopyOptionsBase } from "node:fs";

When force is false, and the destination exists, throw an error.

Type

boolean