metamethods/typed

runtime type validation library for luau with full typechecking

Danger

library is still under development; use at your own risk

typed

runtime type validation library for luau with full typechecking

example

const t = require("typed")

const schema = t.table({
	hello = t.string(),
	world = t.number(),
})

const data = {
	hello = "hello",
	world = 42,
}

print(schema.parse(data)) -- { ok = true, value = { hello = "hello", world = 42 } }

usage

todo