TypeScript API Documentation for GDK
API Version: 4.0
Library Version: 4.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Canonicalizes the given mime type and interns the result.
If string is not a valid mime type, null is returned instead. See RFC 2048 for the syntax if mime types.
string
null
string of a potential mime type
An interned string for the canonicalized mime type or null if the string wasn't a valid mime type
Canonicalizes the given mime type and interns the result.
If
stringis not a valid mime type,nullis returned instead. See RFC 2048 for the syntax if mime types.