/** For detecting if code is being run in the browser window. */ export const browser = typeof window !== 'undefined';