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