isImageMedia()
@blobs/sdk / utils/blobUtils / isImageMedia
isImageMedia(
media):boolean
Defined in: utils/blobUtils.ts:476
Test whether a media item is an image.
Matches on MIME type prefix or a known image file extension.
Parameters
media
Media record.
Returns
boolean
True if the media is an image.