platform.isColorDisplay

From Inspired-Lua Wiki
Revision as of 00:44, 25 May 2011 by Adriweb (talk | contribs)
Jump to navigation Jump to search

platform.isColorDisplay is a function that is part of platform.


Returns a boolean :

  • true if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer software emulator)
  • false false if the display is gray scale (Nspire non-CAS, Nspire CAS)


This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax

platform.isColorDisplay()

Example

hasColor = platform.isColorDisplay()

See also