Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to implement a "function" type? #31

Open
finalclass opened this issue Jan 16, 2023 · 0 comments
Open

Any plans to implement a "function" type? #31

finalclass opened this issue Jan 16, 2023 · 0 comments

Comments

@finalclass
Copy link

finalclass commented Jan 16, 2023

What I'm looking for is a validator that would ensure that I have a function of acertain return type and arguments.

In zod there is something like this:

z.function().args([z.string(), z.number()]).ruturns(z.string())

do you plan adding something similar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant