A small library that checks if the current device is an iPhoneX for React Native
npm install isIphoneX
const check = require('isiphonex')
const result = check.isIphoneX()
result should be true
for iPhoneX devices and simulators, and false for other devices
PRs welcome