We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c32706f commit a60246dCopy full SHA for a60246d
1 file changed
src/utils/Utils.js
@@ -48,7 +48,7 @@ Phaser.Utils = {
48
*/
49
rotateArray: function (matrix, direction) {
50
51
- if (typeof direction !== 'String')
+ if (typeof direction !== 'string')
52
{
53
direction = ((direction % 360) + 360) % 360;
54
}
0 commit comments