To be clear, this was made in 30 minutes as a fun project, and also DO NOT USE THIS MODULE FOR EVERY CHECK IN YOUR GAME !!! Instead, use it whenever you need real readability of your checks for people who dont code that much in luau.
Hello today im showing you a worder module. It allows you to check values like this.
local object = Worder.new(1) -- example number
object.validate.to.be.zero() --> false
object.validate.to.be.non.zero() --> true
Is this just a t module wrapper? To be honest, it would probably make much more sense to just use t, it’s way more understandable when you check something by doing CheckValues(v), or standard v == 0, instead of expanding it to a separate single-use object.