mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
Fixed typo
This commit is contained in:
parent
75af8a2ebc
commit
3a863198b3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ end
|
||||||
f("hi")
|
f("hi")
|
||||||
f("lo", 5, 27)
|
f("lo", 5, 27)
|
||||||
```
|
```
|
||||||
This function takes a string, plus as many numbers as you like, but if you try calling it with anything else, you'll get a type error, for example `f("oh", true)` gives an error " Type `boolean` could not be converted into `number`"
|
This function takes a string, plus as many numbers as you like, but if you try calling it with anything else, you'll get a type error, for example `f("oh", true)` gives an error "Type `boolean` could not be converted into `number`"
|
||||||
|
|
||||||
Variadics can be used in function declarations, and function types, for example
|
Variadics can be used in function declarations, and function types, for example
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue