What are the different types?

Hey! I know a couple of types like “number” and “string” but are there any other?

Yeah, a lot of them actually.

There are 9 that are implemented natively, these are nil, boolean, string, number, thread, table, vector, function and userdata.
And there are the ones implemented as userdatas at the core but used as separate datatypes. You can see the list of those ones in *Datatype Index page.

*Note: Vector3 in Datatype index is the vector datatype mentioned in native types.

2 Likes