(match, value)
| 57150 | } = require_mock_symbols(); |
| 57151 | var { buildURL: buildURL2, nop } = require_util2(); |
| 57152 | var { STATUS_CODES } = require("http"); |
| 57153 | var { |
| 57154 | types: { |
| 57155 | isPromise |
| 57156 | } |
| 57157 | } = require("util"); |
| 57158 | function matchValue(match, value) { |
| 57159 | if (typeof match === "string") { |
| 57160 | return match === value; |
| 57161 | } |
| 57162 | if (match instanceof RegExp) { |
| 57163 | return match.test(value); |
| 57164 | } |
| 57165 | if (typeof match === "function") { |
| 57166 | return match(value) === true; |
no test coverage detected
searching dependent graphs…