Function sequenceEqual

  • Determines whether two sequences are equal by comparing the elements pairwise.

    Type Parameters

    • T

      The type of the elements in the source sequence.

    Parameters

    • source: Iterable<T>

      First iterable sequence to compare.

    • other: Iterable<T>

      Second iterable sequence to compare.

    • Optional options: SequencEqualOptions<T>

      The sequence equal options which include an optional comparer and optional abort signal.

    Returns boolean

    A promise which indicates whether both sequences are of equal length and their corresponding elements are equal.

Generated using TypeDoc