set_unique

Function set_unique 

Source
pub fn set_unique<T>(input: &Array<T>, is_sorted: bool) -> Array<T>
where T: HasAfEnum + RealNumber,
Expand description

Find unique values from a Set

§Parameters

  • input - Input Array
  • is_sorted - is a boolean variable. If ```True`` indicates, the input Array is sorted.

§Return Values

An Array of unique values from the input Array.