Determines whether two sequences are equal by comparing the elements pairwise.
Type of items in the source.
Iterable to compare to the source.
Function to determine if two elements are equal.
Collector that returns true if the two sequences are equal, false otherwise.
const result = sequenceEquals([1, 2, 3])([1, 2, 3]);console.log(result); // true Copy
const result = sequenceEquals([1, 2, 3])([1, 2, 3]);console.log(result); // true
Determines whether two sequences are equal by comparing the elements pairwise.