1 // Take into account that the move may be a multi-move
2 export function getFullNotation(move, type
) {
3 if (!type
) type
= "notation";
4 if (Array
.isArray(move)) {
6 for (let i
=0; i
<move.length
; i
++)
7 notation
+= move[i
][type
] + ",";
9 return notation
.slice(0,-1);
11 // Simple (usual) case