ContentFormats.containMimeType

bool containMimeType(string mimeType) nothrow

Checks if a given mime type is part of the given formats.

Parameters

mimeTypethe mime type to search for

Returns

true if the mime_type was found