MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / normalizeOptionalText

Function normalizeOptionalText

apps/cli/src/commands/integrations/feishu.ts:4119–4122  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

4117}
4118
4119function normalizeOptionalText(value: string | undefined): string | undefined {
4120 const normalized = value?.trim();
4121 return normalized || undefined;
4122}
4123
4124export function buildFeishuReadinessReport(input: BuildFeishuReadinessReportInput): FeishuReadinessReport {
4125 const requiredReadiness = input.requiredReadiness ?? "bot";

Calls

no outgoing calls

Tested by

no test coverage detected