mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-03 18:10:56 +01:00
Add description for issubtypeof behavior
This commit is contained in:
parent
c4a19337fc
commit
d1f56c3af7
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ The [`type`](./user-defined-type-functions.md#type-instance) will gain a new met
|
|||
type:issubtypeof(arg: type): boolean
|
||||
```
|
||||
|
||||
This method will return a boolean indicating if the type is a subtype of `arg`.
|
||||
|
||||
## Drawbacks
|
||||
|
||||
Adds another method to the type userdata in User-Defined type functions.
|
||||
|
|
Loading…
Add table
Reference in a new issue