• Returns true if a and b are of equal non-zero length, and their contents are equal, or false otherwise.

    Note that unlike in compare() zero-length inputs are considered not equal, so this function will return false.

    Parameters

    • a: Uint8Array
    • b: Uint8Array

    Returns boolean