Function isMobile

Source
isMobile(): boolean

Check if the current UserAgent is a mobile device