MCPcopy Create free account
hub / github.com/langgenius/dify / isStructured

Function isStructured

cli/src/framework/help.ts:38–40  ·  view source on GitHub ↗
(format: string)

Source from the content-addressed store, hash-verified

36}
37
38function isStructured(format: string): boolean {
39 return format === 'json' || format === 'yaml'
40}
41
42function serialize(value: unknown, format: string): string {
43 if (format === 'yaml')

Callers 4

formatHelpFunction · 0.85
formatTopicFunction · 0.85
formatCommandListFunction · 0.85
formatTopLevelHelpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected