* Get the simple type checker. * * @param {string | string[]} type * @returns {Function} * @private
(type)
| 38 | * @private |
| 39 | */ |
| 40 | function typeChecker (type) { |
| 41 | return function checkType (req) { |
| 42 | return Boolean(typeis(req, type)) |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Normalizes the common options for all parsers. |
no outgoing calls
no test coverage detected
searching dependent graphs…