getDevice()
Function: getDevice()
Section titled “Function: getDevice()”function getDevice(): object;Detects if the device is iOS or Android.
Returns
Section titled “Returns”object
android
Section titled “android”android: boolean;ios: boolean;function getDevice(): object;Detects if the device is iOS or Android.
object
android: boolean;ios: boolean;