Function defaultGenericIconName
Default generic icon for MIME type.
string defaultGenericIconName
(
scope string mimeType
) pure nothrow @trusted;
Returns
media-x-generic where media is parsed from mimeType or null if mimeType is not valid MIME type name.
Example
assert(defaultGenericIconName("image/type") == "image-x-generic");
assert(defaultGenericIconName("not mime type") == string .init);