UNPKG

element-ui

Version:

A Component Library for Vue.js.

12 lines (11 loc) 268 B
"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); }