isFileImageAttachment() function
Home > @cbnsndwch/zrocket-contracts > isFileImageAttachment
isFileImageAttachment() function
Signature:
isFileImageAttachment: (attachment: IMessageFileAttachment) => attachment is ImageAttachmentProps & {
type: "file";
}Parameters
Parameter
Type
Description
attachment
Returns:
attachment is ImageAttachmentProps & { type: "file"; }
How was this page?