(path)
| 438 | * @returns {boolean | undefined} true, if needs to be kept |
| 439 | */ |
| 440 | const isKept = (path) => { |
| 441 | const result = hooks.keep.call(path); |
| 442 | if (result !== undefined) return result; |
| 443 | return keepFn(path); |
| 444 | }; |
| 445 | |
| 446 | /** |
| 447 | * Processes the provided err. |