MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readHintString

Function readHintString

packages/plugins/openapi/src/sdk/invoke.ts:486–487  ·  view source on GitHub ↗
(option: OperationFileHint["dataField"], fallback: string)

Source from the content-addressed store, hash-verified

484 : undefined;
485
486const readHintString = (option: OperationFileHint["dataField"], fallback: string): string =>
487 Option.getOrElse(option, () => fallback);
488
489const readHintMimeType = (hint: OperationFileHint, fallback: string): string =>
490 Option.getOrElse(hint.mimeType, () => fallback);

Callers 1

fileFromByteFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected