getOSByUserAgent
Returns the current operating system by the user agent string.
function getOSByUserAgent(): false | 'ios' | 'android' | 'web';
- Returns:
ios
android
web
: Other browser environmentsfalse
: Other server environments
Returns the current operating system by the user agent string.
function getOSByUserAgent(): false | 'ios' | 'android' | 'web';
ios
android
web
: Other browser environmentsfalse
: Other server environments