Determine page type in javascript?

Hi Team!
Is there a method I can use in javascript to determine if a page is Mobile or Desktop?
Is there a method I can use in javascript to determine if a page is Mobile or Desktop?
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
var isMobile = !!skuid.mobile;
if (isMobile) {
}