MCPcopy Index your code
hub / github.com/rapi-doc/RapiDoc / anyExampleWithSummaryOrDescription

Function anyExampleWithSummaryOrDescription

src/utils/schema-utils.js:249–251  ·  view source on GitHub ↗
(examples)

Source from the content-addressed store, hash-verified

247}
248
249export function anyExampleWithSummaryOrDescription(examples) {
250 return examples.some((x) => x.summary?.length > 0 || x.description?.length > 0);
251}
252
253export function getSampleValueByType(schemaObj) {
254 const example = schemaObj.examples

Callers 1

exampleListTemplateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…