Gtk.Entry.prototype.get_visibility

function get_visibility():Boolean {
    // Gjs wrapper for gtk_entry_get_visibility()
}

Retrieves whether the text in entry is visible. See Gtk.set_visibility.

Returns

true if the text is currently visible