coverage 🖼 100% of core.js
🌴 🌴
This commit is contained in:
parent
5d60561f7b
commit
067281b7a3
2 changed files with 43 additions and 6 deletions
|
|
@ -1,8 +1,8 @@
|
|||
export const isJsons = ((array) => array.every(
|
||||
export const isJsons = ((array) => Array.isArray(array) && array.every(
|
||||
row => (typeof row === 'object' && !(row instanceof Array))
|
||||
));
|
||||
|
||||
export const isArrays = ((array) => array.every(
|
||||
export const isArrays = ((array) => Array.isArray(array) && array.every(
|
||||
row => Array.isArray(row)
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue