519 B
519 B
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: a sequence of characters
- Number: an integer number (32-bit signed)
- Boolean: true or false
- Image: a collection of micro:bit LED states (on/off)
TypeScript allows you to create user-defined classes of data.