Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution

library is still under development; use at your own risk

typed

a runtime type validation library for luau

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

About

a runtime type validation library for luau

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages