Add concat function (#2640)

This commit is contained in:
Aya Morisawa 2018-09-06 21:31:15 +09:00 committed by syuilo
parent f428372869
commit 3cace734c7
4 changed files with 14 additions and 8 deletions

View file

@ -1,4 +1,4 @@
import { count, countIf } from "../../prelude/array";
import { count, concat } from "../../prelude/array";
// MISSKEY REVERSI ENGINE
@ -286,7 +286,7 @@ export default class Reversi {
}
};
return [].concat(...diffVectors.map(effectsInLine));
return concat(diffVectors.map(effectsInLine));
}
/**