
Check if two vectors have the same elements.
share_all_elements.RdDetermines whether two vectors share all their elements with each other.
Value
It returns TRUE if all elements of atom1 are present in atom2
and all elements of atom2 are present in atom1, otherwise it returns
FALSE.
Examples
share_all_elements(1:3, c(1, 1, 1, 3, 2, 1, 3))
#> [1] TRUE