Skip to content

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

@finalclass

Description

@finalclass

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions