mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-03 18:10:56 +01:00
Update docs/method-type-hassubtypeof.md
Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
parent
f45b099bdf
commit
00f6199323
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ end
|
|||
The [`type`](./user-defined-type-functions.md#type-instance) will gain a new method: `hassubtypeof`:
|
||||
|
||||
```luau
|
||||
type:hassubtypeof(arg: type): boolean
|
||||
type:issubtypeof(arg: type): boolean
|
||||
```
|
||||
|
||||
## Drawbacks
|
||||
|
|
Loading…
Add table
Reference in a new issue