({id, property}, objs)
| 488 | }; |
| 489 | |
| 490 | function wildcardOverlap({id, property}, objs) { |
| 491 | const idKeys = keys(id).sort(); |
| 492 | const idVals = props(idKeys, id); |
| 493 | for (const obj of objs) { |
| 494 | const {id: id2, property: property2} = obj; |
| 495 | if ( |
| 496 | property2 === property && |
| 497 | typeof id2 !== 'string' && |
| 498 | equals(keys(id2).sort(), idKeys) && |
| 499 | all(matchWildKeys, zip(idVals, props(idKeys, id2))) |
| 500 | ) { |
| 501 | return obj; |
| 502 | } |
| 503 | } |
| 504 | return false; |
| 505 | } |
| 506 | |
| 507 | export function validateCallbacksToLayout(state_, dispatchError) { |
| 508 | const {config, graphs, layout: layout_, paths: paths_} = state_; |
no test coverage detected
searching dependent graphs…