user_agent_parser_plus library

Functions

isBot(Browser? browser) bool
Check if a browser is a bot/crawler
isDesktop(Browser? browser) bool
Check if a browser is a desktop browser
isDesktopDevice(Device? device) bool
Check if a device is desktop
isMobile(Browser? browser) bool
Check if a browser is a mobile browser
isMobileDevice(Device? device) bool
Check if a device is mobile