function isiPhoneX() {
  if (Platform.OS === 'ios' && (deviceHeight === FIVE_DOT_EIGHT_INCHES || deviceWidth === FIVE_DOT_EIGHT_INCHES)) {
    return true;
  }
  return false;
}
/**
 * Function to check if the device it's an iPhone X
 * @returns {boolean} True if it is
 */
Function to check if the device it's an iPhone X
@returns {boolean} True if it is
Function to check if the device it ' s an iPhone X @returns { boolean } True if it is
function isiPhoneX() {
  if (Platform.OS === 'ios' && (deviceHeight === FIVE_DOT_EIGHT_INCHES || deviceWidth === FIVE_DOT_EIGHT_INCHES)) {
    return true;
  }
  return false;
}
function isiPhoneX ( ) { if ( Platform . OS === 'ios' && ( deviceHeight === FIVE_DOT_EIGHT_INCHES || deviceWidth === FIVE_DOT_EIGHT_INCHES ) ) { return true ; } return false ; }
Function to check if the device it's an iPhone X
 @returns {boolean} True if it is
Function to check if the device it ' s an iPhone X @returns { boolean } True if it is