(p)
| 1 | 'use strict'; |
| 2 | |
| 3 | function tryParseInt(p) { |
| 4 | if (!p) { |
| 5 | return 0; |
| 6 | } |
| 7 | const pi = parseInt(p); |
| 8 | return pi || 0; |
| 9 | } |
| 10 | |
| 11 | export function isDescendant (parent, child) { |
| 12 | let node = child.parentNode; |
no outgoing calls
no test coverage detected
searching dependent graphs…