docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ArrayEquals

    ArrayEquals<T>(T[], T[])

    Indicates whether both arrays are the same or contains the same information.

    This method is used to validate if the receipts are different.

    Declaration
    public static bool ArrayEquals<T>(T[] a, T[] b) where T : IEquatable<T>
    Parameters
    Type Name Description
    T[] a

    First object to validate against second object.

    T[] b

    Second object to validate against first object.

    Returns
    Type Description
    bool

    Returns true if they are the same length and contain the same information or else returns false.

    Type Parameters
    Name Description
    T

    Type of object to check.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023