isInternal

external val isInternal: Boolean(source)

A boolean indicating whether the screen is internal to the device or external

MDN Reference