"use strict";
var helperFormatChecker = require('./h_format_checker');
module.exports = function () {
return {
validator: function validator(v) {
return !helperFormatChecker.isNil(v);
},
message: function message(props) {
return "".concat(props.value, " should not be null");
}
};
};