560 bytes added,
00:42, 25 May 2011 platform.'''isDeviceModeRendering''' is a function that is part of [[:Category:platform|platform]].
Returns a boolean :
* ''true'' if the script is running on the hand-held device or in the emulator of the desktop software.
* ''false'' if the script is running in the normal view of the desktop software.
{{Since|3.0}}
== Syntax ==
platform.'''isDeviceModeRendering'''()
== Example ==
<syntaxhighlight>device = platform.isDeviceModeRendering()</syntaxhighlight>
== See also ==
*[[:Category:platform|platform]]
<br /><br />
[[Category:platform]]