yahoo-finance2
Version:
JS API for Yahoo Finance
11 lines (10 loc) • 376 B
JavaScript
;
// Copyright 2018-2025 the Deno authors. MIT license.
// Copyright the Browserify authors. MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertPath = assertPath;
function assertPath(path) {
if (typeof path !== "string") {
throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
}
}