platform.isColorDisplay

From Inspired-Lua Wiki
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)
  • 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