UNPKG

valid

Version:
25 lines (16 loc) 363 B
"use strict"; var inherits = require('util').inherits; var Validator = require('./core/validator'); var Any = function () { Validator.call(this); }; inherits(Any, Validator); Any.prototype.code = 'any'; Any.prototype.validate = function (ctx) { return true; }; Any.any = new Any(); Any.getShort = function () { return Any.any; }; module.exports = Any;