(a, b)
| 17 | * @returns {boolean} |
| 18 | */ |
| 19 | export function shallowDiffers(a, b) { |
| 20 | for (let i in a) if (i !== '__source' && !(i in b)) return true; |
| 21 | for (let i in b) if (i !== '__source' && a[i] !== b[i]) return true; |
| 22 | return false; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Check if two values are the same value |
no outgoing calls
no test coverage detected
searching dependent graphs…