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 has a window.devicePixelRatio of 2 or higher.
true
window.devicePixelRatio
2
if (_y.device.isRetina()) { // do hi dpi specific code } else { // other code }