UNPKG

@decaf-ts/utils

Version:

module management utils for decaf-ts

9 lines (8 loc) 368 B
/** * @description Determines if the current environment is a browser by checking the prototype chain of the global object. * @summary Checks if the code is running in a browser environment. * @return {boolean} True if the environment is a browser, false otherwise. * @function isBrowser * @memberOf module:utils */ export declare function isBrowser(): boolean;