shared.js 268 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 "use strict"; exports.__esModule = true; exports.isDef = isDef; exports.isKorean = isKorean; function isDef(val) { return val !== undefined && val !== null; } function isKorean(text) { var reg = /([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi; return reg.test(text); }