There is no 'jQuery function' here!
In fact jQuery removed its browser detection member with version 1.9 and the reason is that user agent string is become a not reliable source of information...
The best way to decide if you can do something in JavaScript or not, is feature detection...
http://msdn.microsoft.com/en-us/magazine/hh475813.aspx[
^]