Function: unsupportedForMutationReason()
ts
function unsupportedForMutationReason(mimeType: string): string | undefined;Defined in: src/batteries/media/formats.ts:119
Reason a mutation verb cannot run against this MIME type, or undefined when mutation is allowed. Returns a reason string (not a throw) so callers compose model-actionable failures.
Parameters
| Parameter | Type | Description |
|---|---|---|
mimeType | string | The media MIME type. |
Returns
string | undefined
A human-readable reason, or undefined when mutation is supported.