is-iphonex
v1.0.1
Published
Judge if the device is iPhone X based on the device height
Downloads
25
Readme
is-iphonex
Judge if the device is iPhone X based on the device height.
Usage:
import isIPhoneX from 'is-iphonex';
console.log(isIPhoneX()) // log 'true' on device iPhoneX