joi-fn (npm): Return a function that runs `Joi.attempt` with the given validator
Keywords: joi function