Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 584 Bytes

isSimulator.markdown

File metadata and controls

22 lines (14 loc) · 584 Bytes

device.isSimulator

 
Type Boolean
Library device.*
Keywords device, simulator
See also Sample code

Overview

This property indicates whether the device running the application is the Corona Simulator.

Example

local device = require 'plugin.device'

print( device.isSimulator )