revert to type from typeof (remnant of debugging)

This commit is contained in:
TaylorsRus 2025-04-27 20:27:57 +01:00
parent 95d1f90c45
commit 852e21df5b

View file

@ -1,5 +1,5 @@
local function read<T>(value: (() -> T) | T): T local function read<T>(value: (() -> T) | T): T
return if typeof(value) == "function" then value() else value return if type(value) == "function" then value() else value
end end
return read return read