Gtk.SelectionData.prototype.get_format

function get_format():Number {
    // Gjs wrapper for gtk_selection_data_get_format()
}

Retrieves the format of the selection.

Since 2.14

Returns

the format of the selection.