- function(): ZodFunction<ZodTuple<[], ZodUnknown>, ZodUnknown>
- function<
T extends
ZodTuple<[] | [ZodTypeAny, ...ZodTypeAny[]], null | ZodTypeAny, T> = ZodTuple<
[],
ZodUnknown,
>,
>(
args: T,
): ZodFunction<T, ZodUnknown> - function<
T extends
ZodTuple<[] | [ZodTypeAny, ...ZodTypeAny[]], null | ZodTypeAny, T>,
U extends ZodType<any, any, any, U>,
>(
args: T,
returns: U,
): ZodFunction<T, U> - function<
T extends
ZodTuple<[] | [ZodTypeAny, ...ZodTypeAny[]], null | ZodTypeAny, T> = ZodTuple<
[],
ZodUnknown,
>,
U extends ZodType<any, any, any, U> = ZodUnknown,
>(
args: T,
returns: U,
params?: RawCreateParams,
): ZodFunction<T, U>