is_set_member


is_set_member(s, obj)
      

Return true if the object obj is a member of the set s. Otherwise, return false.

Examples:


is_set_member(#(1, 2, 3), 2)
// true
is_set_member(#(1, 2, 3), 4)
// false
      

Also see:

is_subset
set_union


Core Module Index | Contents