Function MimeCache.isSubclassOf

Recursively check if mimeType is subclass of parent.

bool isSubclassOf (
  scope const(char)[] mimeType,
  scope const(char)[] parent
) @trusted const;

Note

Mime type is not considered to be subclass of itself.

Returns

true if mimeType is subclass of parent. False otherwise.