12 lines
527 B
Markdown
12 lines
527 B
Markdown
# types
|
|
|
|
A *type* refers to a class of data and the operations permitted on that class of data.
|
|
The following built-in types are supported for the BBC micro:bit:
|
|
|
|
* **[String](/reference/types/string)**: a sequence of characters
|
|
* **[Number](/reference/types/number)**: an integer number (32-bit signed)
|
|
* **[Boolean](/blocks/logic/boolean)**: true or false
|
|
* **[Image](/reference/images/image)**: a collection of [micro:bit LED states](/device/screen) (on/off)
|
|
|
|
TypeScript allows you to create user-defined classes of data.
|