Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Compares two arrays.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

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

public static bool ArrayEquals<T>(T[] lhs, T[] rhs)

Parameters

Returns

Type

Description

boolTrue if both have the same number of elements and the contents are equal.