getImageSourceFormatForMimeType Function

Get the ImageSourceFormat corresponding to the mime type string, or undefined if the string does not identify a supported ImageSourceFormat.

getImageSourceFormatForMimeType(mimeType: string): ImageSourceFormat | undefined

Parameter Type Description
mimeType string  

Defined in

Last Updated: 10 September, 2019