From b4980e0435cadb29b0d0a1e0bfe1c1eda43990cf Mon Sep 17 00:00:00 2001 From: Junseo Yoo <59751754+joonyoo181@users.noreply.github.com> Date: Wed, 12 Jun 2024 09:31:33 -0700 Subject: [PATCH] Redirect users to open-source Luau global functions Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> --- docs/rawget-type-operator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rawget-type-operator.md b/docs/rawget-type-operator.md index 94d9aad..4540b83 100644 --- a/docs/rawget-type-operator.md +++ b/docs/rawget-type-operator.md @@ -6,7 +6,7 @@ This RFC proposes the addition of a new type operator, `rawget`, which can be us ## Motivation -Given that `rawget` is a built-in runtime operator in the language ([rawget Lua Globals](https://create.roblox.com/docs/reference/engine/globals/LuaGlobals#rawget)), it feels natural for there to be a version of this as a type operator. As such, the main motivation behind this feature is to close out holes in Luau's type families and allow Luau developers to be more expressive writing typed code: +Given that `rawget` is a built-in runtime operator in the language ([rawget in Luau Global functions](https://luau-lang.org/library#global-functions)), it feels natural for there to be a version of this as a type operator. As such, the main motivation behind this feature is to close out holes in Luau's type families and allow Luau developers to be more expressive writing typed code: ```luau local prop: rawget = rawget(someTy, someProp)