UNPKG

224 BJavaScriptView Raw
1'use strict';
2
3var utils = require('../utils');
4
5module.exports = function(app) {
6 return {
7 type: ['array', 'string'],
8 normalize: function(val, key, config, schema) {
9 return utils.arrayify(val);
10 }
11 };
12};