Gtk.SelectionData.prototype.targets_include_text

function targets_include_text():Boolean {
    // Gjs wrapper for gtk_selection_data_targets_include_text()
}

Given a Gtk.SelectionData object holding a list of targets, determines if any of the targets in @targets can be used to provide text.

Returns

true if selection_data holds a list of targets, and a suitable target for text is included, otherwise false.