base

fun base(): MimeType

Returns just the language portion of the mime type.

For example, for text/kotlin; role=gradle this will return text/kotlin. For text/plain; charset=us-ascii this returns text/plain