* Check if a value is PullOptions (object without transform or write property). * @param {unknown} value * @returns {boolean}
(value)
| 211 | * @returns {boolean} |
| 212 | */ |
| 213 | function isPullOptions(value) { |
| 214 | return ( |
| 215 | value !== null && |
| 216 | typeof value === 'object' && |
| 217 | !('transform' in value) && |
| 218 | !('write' in value) |
| 219 | ); |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * Check if a value is a stateful transform object (has a transform method). |
no outgoing calls
no test coverage detected
searching dependent graphs…