GLib.PatternSpec.prototype.equal

function equal(pspec2: GLib.PatternSpec): Boolean {
    // Gjs wrapper for g_pattern_spec_equal()
}
  

Compares two compiled pattern specs and returns whether they will match the same set of strings.

pspec2

another GLib.PatternSpec

Returns

Whether the compiled patterns are equal