assertPathNotExists
assertPathNotExists
Section titled “assertPathNotExists”Assert that a filesystem path does not exist.
import { assertPathNotExists } from "@kensio/smartass";
const filePath = "missing.txt";
assertPathNotExists(filePath);
// This validates the missing path at runtime without changing the path type.Source
Section titled “Source”Source file: src/assert/path-not-exists/path-not-exists.assert.ts
