1 2 3 4 5 6 7 8 9 10 |
x125 x8385 x8387 x8387 x8387 x8385 |
// Copyright 2018-2025 the Deno authors. MIT license.
// Copyright the Browserify authors. MIT License.
export function assertPath(path?: string) {
if (typeof path !== "string") {
throw new TypeError(
`Path must be a string, received "${JSON.stringify(path)}"`,
);
}
}
|