platform.isTabletModeRendering
Jump to navigation
Jump to search
platform.isTabletModeRendering is a function that is part of platform.
Returns a boolean :
- true if the script is running on a tablet device (iPad app, for example).
- false if the script is running somewhere else (Calculator, Computer software...).
This has been introduced in TI-Nspire OS 3.4 (Changes).
Syntax
platform.isTabletModeRendering()
Example
isTablet = platform.isTabletModeRendering()
-- will set the boolean isTablet to true