mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-19 11:23:55 +01:00
Added parameters to newtable function
This commit is contained in:
parent
f2685c315b
commit
1d1bcc947c
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ All attributes of newly created typelib are initialized with empty tables / arra
|
|||
| `getbooleansingleton(arg: boolean)` | `typelib` | returns an immutable runtime representation of a boolean singleton type of the argument |
|
||||
| `getunion(arg: {typelib})` | `typelib` | returns an immutable runtime representation of union type of its argument |
|
||||
| `getintersection(arg: {typelib})` | `typelib` | returns an immutable runtime representation of intersection type of its argument |
|
||||
| `newtable()` | `typelib` | returns a mutable runtime representation of a `table` type |
|
||||
| `newtable(props: {[typelib]: typelib}, indexer: {key: typelib, value: typelib}?)` | `typelib` | returns a mutable runtime representation of a `table` type |
|
||||
| `newmetatable()` | `typelib` | returns a mutable runtime representation of a metatable represented as a special property of the `table` type |
|
||||
| `newfunction()` | `typelib` | returns a mutable runtime representation of a `function` type |
|
||||
| `isnil(arg: typelib)` | `boolean` | returns true if the argument is syntactically a runtime representation of the built-in type `nil` |
|
||||
|
|
Loading…
Add table
Reference in a new issue