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

Function readHintString

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

Source from the content-addressed store, hash-verified

530 : undefined;
531
532const readHintString = (option: OperationFileHint["dataField"], fallback: string): string =>
533 Option.getOrElse(option, () => fallback);
534
535const readHintMimeType = (hint: OperationFileHint, fallback: string): string =>
536 Option.getOrElse(hint.mimeType, () => fallback);

Callers 1

fileFromByteFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected