Specifiy subtyping algorithm

This commit is contained in:
witchiest 2025-04-01 23:43:23 -04:00 committed by GitHub
parent d1f56c3af7
commit 2dc4873064
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -105,7 +105,7 @@ The [`type`](./user-defined-type-functions.md#type-instance) will gain a new met
type:issubtypeof(arg: type): boolean type:issubtypeof(arg: type): boolean
``` ```
This method will return a boolean indicating if the type is a subtype of `arg`. This method will return a boolean indicating if the type is a subtype of `arg`, using luau's existing subtyping algorithm.
## Drawbacks ## Drawbacks