UNPKG

typed-catch-of-the-day

Version:

typescript version of wes bos' catch of the day app

4 lines (3 loc) 115 B
export const canUseDOM = !!( typeof window !== 'undefined' && window.document && window.document.createElement )