Check whether device is desktop

Simple shorthand function to check whether the device is a desktop (i.e not mobile and not tablet). Useful JavaScript condition