How do i compare my custom type tona parameter value?
Example:
--Module
export type test = {Value:boolean}
local module ={}
return module
--Script
local Types = require(Module)
local function check(Param)
--What i want:
if typeof(Param) == Types.test then
print("Same type value")
else
print("Type not the same")
end
end
local Value:Types.test = false
check(Value)
``