Check if the device type is 'desktop'
true/false
Check if the device type is 'phone'
Check if the device type is 'tablet'
Subscribe to state changes
unsubscribe callback
function to call when subscription updates
Rest
Optional
options for the state selector
Check if the device type is 'desktop'
Returns
true/false