UNPKG

yahoo-finance2

Version:
11 lines (10 loc) 376 B
"use strict"; // 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)}"`); } }