isTypeSupportedAsync

fun isTypeSupportedAsync(type: String): Promise<ERROR CLASS: Symbol not found for JsBoolean>(source)

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

MDN Reference