ContentFormats.containMimeType

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

class ContentFormats
bool
containMimeType
(
string mimeType
)

Parameters

mimeType string

the mime type to search for

Return Value

Type: bool

%TRUE if the mime_type was found

Meta