Gtk.TargetList.prototype.find

function find(target:Gdk.Atom, info:Number):Boolean {
    // Gjs wrapper for gtk_target_list_find()
}

Looks up a given target in a Gtk.TargetList.

target

an interned atom representing the target to search for

info

a pointer to the location to store application info for target, or null

Returns

true if the target was found, otherwise false