mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-19 11:23:55 +01:00
comment: ~ to not
This commit is contained in:
parent
96611f14cb
commit
1ad250d1c4
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ end
|
||||||
For instance, the `rawget` type function can be written as:
|
For instance, the `rawget` type function can be written as:
|
||||||
```luau
|
```luau
|
||||||
type function rawget(tbl, prop)
|
type function rawget(tbl, prop)
|
||||||
if (~tbl:istable()) then
|
if (not tbl:istable()) then
|
||||||
error("First parameter of rawget is not a table!") -- fails to reduce
|
error("First parameter of rawget is not a table!") -- fails to reduce
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue