Method ArraysEqual
ArraysEqual<T>(UnsafeList<T>, in UnsafeList<T>)
Returns true if this container and another have equal length and content.
Declaration
public static bool ArraysEqual<T>(this UnsafeList<T> container, in UnsafeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
Type | Name | Description |
---|---|---|
UnsafeList<T> | container | The container to compare for equality. |
UnsafeList<T> | other | The other container to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the containers have equal length and content. |
Type Parameters
Name | Description |
---|---|
T | The type of the source container's elements. |