exactEquals function

bool exactEquals(
  1. List<double> a,
  2. List<double> b
)

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

@param {ReadonlyMat2} a The first matrix. @param {ReadonlyMat2} b The second matrix. @returns {Boolean} True if the matrices are equal, false otherwise.

Implementation

bool exactEquals(List<double> a, List<double> b) {
  return a[0] == b[0] && a[1] == b[1] && a[2] == b[2] && a[3] == b[3];
}