UNPKG

@appbuckets/react-ui-core

Version:

Core utilities built for AppBuckets React UI Framework

13 lines (9 loc) 331 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var hasDocument = typeof document === 'object' && document !== null; var hasWindow = typeof window === 'object' && window !== null && window.self === window; function isBrowser() { return hasDocument && hasWindow; } exports.isBrowser = isBrowser;