forms/deploy/validators/Age.validator.js

/**
 * @module flitter-forms/deploy/validators/Age
 */

/**
 * A sample validator schema that is deployed to {@link module:flitter-forms/FormsUnit~FormsUnit#directory}.
 * @type {{age: string[]}}
 */
const Age = {
    age: ['required', 'isInt:{"min":18}'],
}

module.exports = exports = Age