Files
openclaw/packages/acp-core/src/numeric-options.ts
2026-06-04 20:54:41 -04:00

12 lines
441 B
TypeScript

// ACP Core module implements numeric options behavior.
import { resolveIntegerOption as resolveSharedIntegerOption } from "@openclaw/normalization-core/number-coercion";
/** Resolves ACP integer options through the shared normalization contract. */
export function resolveIntegerOption(
value: number | undefined,
fallback: number,
params: { min: number },
): number {
return resolveSharedIntegerOption(value, fallback, params);
}