ng2-validators
Version:
An implementation of angular validators for Angular 2
15 lines • 351 B
JavaScript
var Util = (function () {
function Util() {
}
Util.isNotPresent = function (control) {
var value = control.value;
if (value === undefined || value === null) {
return true;
}
return value !== '' ? false : true;
};
;
return Util;
}());
export { Util };
//# sourceMappingURL=util.js.map