Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
attachmentExists(attachment: Attachment): Promise<boolean>
import { attachmentExists } from '@photon-ai/imessage-kit/helpers' const attachment = message.attachments[0] if (await attachmentExists(attachment)) { console.log('Attachment exists') }
Promise<boolean>
Was this page helpful?