GLib.MatchInfo.prototype.matches

function matches(): Boolean {
    // Gjs wrapper for g_match_info_matches()
}
  

Returns whether the previous match operation succeeded.

Since 2.14

Returns

true if the previous match operation succeeded, false otherwise