isTypeSupportedAsync

external fun isTypeSupportedAsync(type: String): Promise<JsBoolean>(source)

The ImageDecoder.isTypeSupported() static method checks if a given MIME type can be decoded by the user agent.

MDN Reference