std-set-equal-p | ![]() |
STD-SET-EQUAL-P
if the two sets have the same elements.
A set is a list without defined order of elements, ignoring duplicate elements. This returns the same as STD-EQUALP
if called with two lists if the list does not contain numbers only.
With sets consisting of numbers only you must use this function.
(std-set-equal-p '(0 1 2) '(1 2 0)) => T (std-set-equal-p '(0 1 2) '(1 1 2 0)) => nil
This function is usually defined as:
(defun STD-SET-EQUAL-P (x y) (and (std-subsetp x y)
(std-subsetp y x)))
lst1, lst2: proper lists, without defined order of elements.
T or nil.
None.
(std-require 'STDLIST)
Defined in STDLIST