tryRemovePath

If name exists, then delete it regardless of whether it's a file or directory. If it doesn't already exist, do nothing and return false.

If you want an exception to be thrown if name doesn't already exist, use removePath instead.

Supports Path and command echoing.

bool
tryRemovePath
(
T
)
()
if (
is(T == string) ||
is(T == Path)
)

Return Value

Type: bool

Success?

Meta