Function set_intersect

Source
pub fn set_intersect<T>(
    first: &Array<T>,
    second: &Array<T>,
    is_unique: bool,
) -> Array<T>
where T: HasAfEnum + RealNumber,
Expand description

Find intersection of two sets

§Parameters

  • first is one of the input sets
  • second is the other of the input sets
  • is_unique is a boolean value indicates if the input sets are unique

§Return Values

An Array with intersection of the input sets