Skip to content

isRetina

const isRetina: boolean

Defined in: utils/platform.ts:9

Checks if the device has a retina display. A device is considered to have a retina display if its device pixel ratio is greater than 1, or if it matches the media query for high resolution displays.