in packages/hooks/src/utils/lodash-polyfill.ts [3:11]
function isNodeOrWeb() {
const freeGlobal =
(typeof global === 'undefined' ? 'undefined' : typeof global) == 'object' &&
global &&
global.Object === Object &&
global;
const freeSelf = typeof self == 'object' && self && self.Object === Object && self;
return freeGlobal || freeSelf;
}