HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/AppData/Roaming/npm/node_modules/command-code/node_modules/zod/src/v4/mini/coerce.ts
import * as core from "../core/index.js";
import * as schemas from "./schemas.js";

// @__NO_SIDE_EFFECTS__
export function string<T = unknown>(params?: string | core.$ZodStringParams): schemas.ZodMiniString<T> {
  return core._coercedString(schemas.ZodMiniString, params) as schemas.ZodMiniString<T>;
}

// @__NO_SIDE_EFFECTS__
export function number<T = unknown>(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber<T> {
  return core._coercedNumber(schemas.ZodMiniNumber, params) as schemas.ZodMiniNumber<T>;
}

// @__NO_SIDE_EFFECTS__
export function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): schemas.ZodMiniBoolean<T> {
  return core._coercedBoolean(schemas.ZodMiniBoolean, params) as schemas.ZodMiniBoolean<T>;
}

// @__NO_SIDE_EFFECTS__
export function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): schemas.ZodMiniBigInt<T> {
  return core._coercedBigint(schemas.ZodMiniBigInt, params) as schemas.ZodMiniBigInt<T>;
}

// @__NO_SIDE_EFFECTS__
export function date<T = unknown>(params?: string | core.$ZodDateParams): schemas.ZodMiniDate<T> {
  return core._coercedDate(schemas.ZodMiniDate, params) as schemas.ZodMiniDate<T>;
}