is_unknown


Description:


public bool is_unknown (string type)

Checks if the content type is the generic "unknown" type.

On UNIX this is the "application/octet-stream" mimetype, while on win32 it is "*" and on OSX it is a dynamic type or octet-stream.

Parameters:

type

a content type string

Returns:

true if the type is the unknown type.


Namespace: GLib.ContentType
Package: gio-2.0



2022 vala-language.org