mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
Update docs/metatable-type-functions.md
Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
parent
d3f66f9fe3
commit
61793d0a72
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ type MetatableType = getmetatable<setmetatable<{}, metatable>>
|
||||||
```
|
```
|
||||||
|
|
||||||
If the type passed into the type function doesn't have a metatable and it *could* have a metatable (so primitives, singletons, classes, and tables), then it will return nil.
|
If the type passed into the type function doesn't have a metatable and it *could* have a metatable (so primitives, singletons, classes, and tables), then it will return nil.
|
||||||
If the type passed in is an intersection/union, then it will return an interesction/union respectively.
|
If the type passed in is an intersection or union, then it will return an intersection or union respectively.
|
||||||
|
|
||||||
## Drawbacks
|
## Drawbacks
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue