dist/modules/is.js
function isBrowser(override) {
    // Enables checking a process.env key while
    // in Node.
    if (override)
        return typeof process !== 'undefined' &&
            function_1.tryWrap(to_1.toBoolean, process.env &&
                process.env[override])(false) === true;
    // Otherwise just return NOT Node.
    return !isNode();
}
function isBrowser(override) {
    // Enables checking a process.env key while
    // in Node.
    if (override)
        return typeof process !== 'undefined' &&
            function_1.tryWrap(to_1.toBoolean, process.env &&
                process.env[override])(false) === true;
    // Otherwise just return NOT Node.
    return !isNode();
}
function isBrowser ( override ) { // Enables checking a process.env key while // in Node. if ( override ) return typeof process !== 'undefined' && function_1 . tryWrap ( to_1 . toBoolean , process . env && process . env [ override ] ) ( false ) === true ; // Otherwise just return NOT Node. return ! isNode ( ) ; }
Is Browser
Checks if script is running in browser.

@param override an optional key to inspect on process.env.
Is Browser Checks if script is running in browser .