Function: seq-set-equal-p

seq-set-equal-p is a byte-compiled function defined in transient.el.

Signature

(seq-set-equal-p SEQUENCE1 SEQUENCE2 &optional TESTFN)

Documentation

Return non-nil if SEQUENCE1 and SEQUENCE2 contain the same elements.

The order of the elements in the sequences is not important.
"Equality" of elements is defined by the function TESTFN, which
defaults to equal.

Other relevant functions are documented in the sequence group.

Probably introduced at or before Emacs version 26.1.

Shortdoc

;; sequence
(seq-set-equal-p '(1 2 3) '(3 1 2))
    => t

Implementations

(sequence1 sequence2 &optional testfn) in `seq-25.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
;; Could not find source code, showing raw function object.
#[770 "\300\301\302#\"\205�\300\301\303#\"\207"
      [seq-every-p make-closure
		   #[257 "\302\300\301#\207"
			 [V0 V1 seq-contains-p]
			 5 "\n\n(fn ITEM1)"]
		   #[257 "\302\300\301#\207"
			 [V0 V1 seq-contains-p]
			 5 "\n\n(fn ITEM2)"]]
      8 "\n\n(fn SEQUENCE1 SEQUENCE2 &optional TESTFN)"]