/opt/canhelp/node_modules/better-auth/node_modules/zod/src/v4/mini
Edit: /opt/canhelp/node_modules/better-auth/node_modules/zod/src/v4/mini/coerce.ts (1182B)
import * as core from "../core/index.js";
import * as schemas from "./schemas.js";
// @__NO_SIDE_EFFECTS__
export function string
(params?: string | core.$ZodStringParams): schemas.ZodMiniString {
return core._coercedString(schemas.ZodMiniString, params) as schemas.ZodMiniString;
}
// @__NO_SIDE_EFFECTS__
export function number(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber {
return core._coercedNumber(schemas.ZodMiniNumber, params) as schemas.ZodMiniNumber;
}
// @__NO_SIDE_EFFECTS__
export function boolean(params?: string | core.$ZodBooleanParams): schemas.ZodMiniBoolean {
return core._coercedBoolean(schemas.ZodMiniBoolean, params) as schemas.ZodMiniBoolean;
}
// @__NO_SIDE_EFFECTS__
export function bigint(params?: string | core.$ZodBigIntParams): schemas.ZodMiniBigInt {
return core._coercedBigint(schemas.ZodMiniBigInt, params) as schemas.ZodMiniBigInt;
}
// @__NO_SIDE_EFFECTS__
export function date(params?: string | core.$ZodDateParams): schemas.ZodMiniDate {
return core._coercedDate(schemas.ZodMiniDate, params) as schemas.ZodMiniDate;
}