Function: isPhoneX

isPhoneX(): boolean

判断 iPhone X Series 机型,刘海屏

Returns

boolean

是否为iPhone X系列机型

Example

isPhoneX()
// => true
ON THIS PAGE