(table, tableId)
| 1122 | const validateContent = isArray; |
| 1123 | const validateTables = (tables) => objValidate(tables, validateTable, cellInvalid); |
| 1124 | const validateTable = (table, tableId) => (!hasTablesSchema || collHas(tablesSchemaMap, tableId) || /* istanbul ignore next */ |
| 1125 | cellInvalid(tableId)) && objValidate( |
| 1126 | table, |
| 1127 | (row, rowId) => validateRow(tableId, rowId, row), |
| 1128 | () => cellInvalid(tableId) |
| 1129 | ); |
| 1130 | const validateRow = (tableId, rowId, row, skipDefaults) => objValidate( |
| 1131 | skipDefaults ? row : addDefaultsToRow(row, tableId, rowId), |
| 1132 | (cell, cellId) => ifNotUndefined( |
no test coverage detected
searching dependent graphs…