Completed add static luau file for analyze

This commit is contained in:
Allan Jeremy 2022-06-02 15:16:22 +03:00
parent 33524b6025
commit ab94930421

View file

@ -394,8 +394,9 @@ end
-- #region instanceOf
-- ROBLOX note: Typed tbl as any to work with strict type analyze
-- polyfill for https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof
function instanceOf(tbl, class)
function instanceOf(tbl: any, class)
assert(typeof(class) == "table", "Received a non-table as the second argument for instanceof")
if typeof(tbl) ~= "table" then