/** If `value` is a string, returns `value.trim()`; otherwise `""` (avoids non-string form values). */
export function trimString(value: unknown): string {
  return typeof value === "string" ? value.trim() : "";
}
