(currentAttributes, { key, value })
| 336 | * @function |
| 337 | */ |
| 338 | const updateCurrentAttributes = (currentAttributes, { key, value }) => { |
| 339 | if (value === null) { |
| 340 | currentAttributes.delete(key) |
| 341 | } else { |
| 342 | currentAttributes.set(key, value) |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | /** |
| 347 | * Call this function after string content has been deleted in order to |
no test coverage detected
searching dependent graphs…