// Copyright 2018-2025 the Deno authors. MIT license.// Copyright the Browserify authors. MIT License.exportfunctionassertPath(path) {
if (typeof path !== "string") {
thrownewTypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
}
}