Function
updateCurrentAttributes
(currentAttributes, format)
Source from the content-addressed store, hash-verified
| 220 | * @function |
| 221 | */ |
| 222 | const updateCurrentAttributes = (currentAttributes, format) => { |
| 223 | const { key, value } = format |
| 224 | if (value === null) { |
| 225 | currentAttributes.delete(key) |
| 226 | } else { |
| 227 | currentAttributes.set(key, value) |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * @param {ItemTextListPosition} currPos |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…