We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(part of device)
Parameters:
Returns: boolean
Returns true if the device is an iPhone or false if not. Based on formFactor and platform.
true
false
if (_y.device.iPhone()) { // do iPhone-specific code } else { // other code }