platform.isColorDisplay

From Inspired-Lua Wiki
Jump to: navigation, 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)
  • 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[edit]

platform.isColorDisplay()

Example[edit]

hasColor = platform.isColorDisplay()

See also[edit]