is-iphonex

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i is-iphonex

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • xuhai951753