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

Function asString

apps/web/features/integrations/feishu/feishu-settings-data.ts:983–985  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

981}
982
983function asString(value: unknown): string | undefined {
984 return typeof value === "string" && value.trim() ? value.trim() : undefined;
985}
986
987function readPolicyDecision(requestJson: string): string | undefined {
988 try {

Calls

no outgoing calls

Tested by

no test coverage detected