Rx.Observable.prototype.sequenceEqual(second, [comparer])
Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer.
参数
second
(Observable
|Promise
|Array
): Second observable sequence, Promise or array to compare.[comparer]
(Function
): Comparer used to compare elements of both sequences.
返回值
(Observable
): An observable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer.