(value)
| 269 | } |
| 270 | |
| 271 | export function isFunction(value) { |
| 272 | if (!isObject(value)) { |
| 273 | return false; |
| 274 | } |
| 275 | |
| 276 | const tag = getTag(value); |
| 277 | return ( |
| 278 | tag === '[object Function]' || |
| 279 | tag === '[object AsyncFunction]' || |
| 280 | tag === '[object GeneratorFunction]' || |
| 281 | tag === '[object Proxy]' |
| 282 | ); |
| 283 | } |
| 284 | |
| 285 | export function findDOMElements(target) { |
| 286 | if (isReactRefObj(target)) { |
no test coverage detected
searching dependent graphs…