(upperBounds, value)
| 219 | } |
| 220 | |
| 221 | function findBound(upperBounds, value) { |
| 222 | for (let i = 0; i < upperBounds.length; i++) { |
| 223 | const bound = upperBounds[i]; |
| 224 | if (value <= bound) { |
| 225 | return bound; |
| 226 | } |
| 227 | } |
| 228 | return -1; |
| 229 | } |
| 230 | |
| 231 | function observe(labels) { |
| 232 | return value => { |
no outgoing calls
no test coverage detected