Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 704x 704x 6660x 710x 594x 704x | const print = (val, serialize) => val.map(serialize).join('\n');
const test = val =>
val instanceof Array &&
val.length &&
val.every(
action =>
typeof action === 'object' &&
Object.keys(action).includes('type') &&
Object.keys(action).filter(key => !['type', 'payload'].includes(key)).length === 0
);
module.exports = {
print: print,
test: test,
};
|