(path5)
| 10949 | var { |
| 10950 | types: { |
| 10951 | isPromise |
| 10952 | } |
| 10953 | } = __require("util"); |
| 10954 | function matchValue(match, value) { |
| 10955 | if (typeof match === "string") { |
| 10956 | return match === value; |
| 10957 | } |
| 10958 | if (match instanceof RegExp) { |
| 10959 | return match.test(value); |
| 10960 | } |
| 10961 | if (typeof match === "function") { |
| 10962 | return match(value) === true; |
| 10963 | } |
| 10964 | return false; |
| 10965 | } |
no test coverage detected