is-iphonex
Judge if the device is iPhone X based on the device height.
Usage:
;console // log 'true' on device iPhoneX
Judge if the device is iPhone X based on the device height.
Usage:
;console // log 'true' on device iPhoneX
npm i is-iphonex
2
1.0.1
MIT