Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/1301-standardlibrary-mathematics-stat-mathsubfunctions-statmathidentical.md
T
2026-06-23 21:47:51 +08:00

767 B

MathIdentical

Compares two arrays of values and returns true if all elements match.

Version for working with arrays of real values:

bool  MathIdentical(
   const double&  array1[],      // the first array of values
   const double&  array2[]       // the second array of values
   )

Version for working with arrays of integer values:

bool  MathIdentical(
   const int&     array1[],      // the first array of values
   const int&     array2[]       // the second array of values
   )

Parameters

array1[]

[in] The first array to compare.

array2[]

[in] The second array to compare.

Return Value

Returns true if the arrays are equal, otherwise false.