Appearance
isFromEU(): boolean
Check whether the current window is likely from an EU country
import { isFromEU } from 'ua-parser-js/helpers'; if(isFromEU()) { console.log('Hello, please accept our cookies!'); }