(args, returns, params)
| 32190 | return validatedFunc; |
| 32191 | } |
| 32192 | static create(args, returns, params) { |
| 32193 | return new _ZodFunction({ |
| 32194 | args: args ? args : ZodTuple.create([]).rest(ZodUnknown.create()), |
| 32195 | returns: returns || ZodUnknown.create(), |
| 32196 | typeName: ZodFirstPartyTypeKind.ZodFunction, |
| 32197 | ...processCreateParams(params) |
| 32198 | }); |
| 32199 | } |
| 32200 | }; |
| 32201 | exports2.ZodFunction = ZodFunction; |
| 32202 | var ZodLazy = class extends ZodType { |
nothing calls this directly
no test coverage detected