UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

56 lines (27 loc) 821 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Matrix2](./server.matrix2.md) &gt; [exactEquals](./server.matrix2.exactequals.md) ## Matrix2.exactEquals() method Checks if the current matrix is exactly equal to another matrix. **Signature:** ```typescript exactEquals(matrix2: Matrix2): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> matrix2 </td><td> [Matrix2](./server.matrix2.md) </td><td> The matrix to compare to the current matrix. </td></tr> </tbody></table> **Returns:** boolean `true` if the current matrix is equal to the provided matrix, `false` otherwise.