Update docs/metatable-type-functions.md

Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
ffrostfall 2025-02-04 09:50:58 -05:00 committed by GitHub
parent d3f66f9fe3
commit 61793d0a72
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -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 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