Add concat function (#2640)
This commit is contained in:
parent
f428372869
commit
3cace734c7
4 changed files with 14 additions and 8 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue