Deno.OpenOptions.createNew - Deno documentation
property Deno.OpenOptions.createNew

If set to true, no file, directory, or symlink is allowed to exist at the target location. Requires write or append access to be used. When createNew is set to true, create and truncate are ignored.

Type

boolean