"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.labelDropLabelValidator = labelDropLabelValidator;
const LabelDropItemEntity_1 = require("../Entities/LabelDropItemEntity");
function labelDropLabelValidator(val) {
    if (!val) {
        return LabelDropItemEntity_1.LabelDropItemEntity.LABEL_DROP_EMPTY;
    }
    else if (val.length > 40) {
        return LabelDropItemEntity_1.LabelDropItemEntity.LABEL_DROP_TOO_LONG;
    }
    else {
        return null;
    }
}
//# sourceMappingURL=labelDropLabelValidator.js.map