@salesforce/core
Version:
Core libraries to interact with SFDX projects, orgs, and APIs.
16 lines • 524 B
JavaScript
;
/*
* Copyright (c) 2023, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.isWeb = void 0;
const isWeb = () => {
if (process.versions.bun)
return false;
return 'window' in globalThis || 'self' in globalThis;
};
exports.isWeb = isWeb;
//# sourceMappingURL=isWeb.js.map