# GimpUi.PageSelector.prototype.get_selected_pages

    function get_selected_pages(): [return_value: Array(Number(gint)), n_selected_pages: Number(gint)] {
        // Gjs wrapper for gimp_page_selector_get_selected_pages()
    }

Since 2.4

return_value

  A sorted array of page numbers of selected pages. Use g_free() if you don't need the array any longer

n_selected_pages

  Returns the number of selected pages.