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

Function readHintString

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

Source from the content-addressed store, hash-verified

491 : undefined;
492
493const readHintString = (option: OperationFileHint["dataField"], fallback: string): string =>
494 Option.getOrElse(option, () => fallback);
495
496const readHintMimeType = (hint: OperationFileHint, fallback: string): string =>
497 Option.getOrElse(hint.mimeType, () => fallback);

Callers 1

fileFromByteFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected