• Removes a value from an array if '==' is true.

    Parameters

    • arr: any[]

      the array

    • o: any

      object to remove

    Returns any