@awesome-fe/translate
Version:
Translation utils
13 lines • 440 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.splitAttributeValue = void 0;
function splitAttributeValue(attributeValue) {
if (typeof attributeValue === 'string') {
return attributeValue.split(',').map(it => it.trim());
}
else {
return [attributeValue.toString()];
}
}
exports.splitAttributeValue = splitAttributeValue;
//# sourceMappingURL=split-attribute-value.js.map