mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
Update user-defined-type-functions.md
This commit is contained in:
parent
ea6e73aceb
commit
935d592aca
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ The type functions will run in a sandboxed VM instance with a limited scope of a
|
||||||
- `assert`, `error`, and `print`, which will be used by type functions to provide error feedback to consumers of a type function
|
- `assert`, `error`, and `print`, which will be used by type functions to provide error feedback to consumers of a type function
|
||||||
- `next`, `ipairs`, `pairs`, `select`, and `unpack`, which support basic iteration and interaction with tables and multiple return
|
- `next`, `ipairs`, `pairs`, `select`, and `unpack`, which support basic iteration and interaction with tables and multiple return
|
||||||
- `getmetatable`, `setmetable`, `rawget`, `rawset`, `rawlen`, `rawequal`, `tonumber`, `tostring`, `type`, and `typeof`, which are builtin functions that are essentially operators in Luau
|
- `getmetatable`, `setmetable`, `rawget`, `rawset`, `rawlen`, `rawequal`, `tonumber`, `tostring`, `type`, and `typeof`, which are builtin functions that are essentially operators in Luau
|
||||||
- the `math` library
|
- the `math` library, where we note that `math.randomseed` will be reset automatically on type function entry
|
||||||
- the `table` library
|
- the `table` library
|
||||||
- the `string` library
|
- the `string` library
|
||||||
- the `bit32` library
|
- the `bit32` library
|
||||||
|
|
Loading…
Add table
Reference in a new issue