Skip to content

@sqlrooms/ai-core / isMarkdownAttachment

Function: isMarkdownAttachment() ​

isMarkdownAttachment(attachment): boolean

Whether an attachment should be rendered as Markdown.

Parameters ​

ParameterType
attachmentFileUIPart

Returns ​

boolean