From 1ad250d1c440f21e8b9cb1005403745f7d4703ec Mon Sep 17 00:00:00 2001 From: Junseo Yoo Date: Mon, 1 Jul 2024 11:50:16 -0700 Subject: [PATCH] comment: ~ to not --- docs/user-defined-type-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index b390a47..fa81ab2 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -25,7 +25,7 @@ end For instance, the `rawget` type function can be written as: ```luau 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 end