4 lines
86 B
JavaScript
4 lines
86 B
JavaScript
exports.isBrowser = function isBrowser() {
|
|
return typeof window !== 'undefined';
|
|
};
|