@sqlrooms/ai-core / isTextAttachmentMediaType
Function: isTextAttachmentMediaType()
isTextAttachmentMediaType(
mediaType):boolean
Whether a media type represents plain text or Markdown.
Parameters
| Parameter | Type |
|---|---|
mediaType | string |
Returns
boolean