export default class TableStyleFormatter { /** * table column에 한글이 있을 경우 style을 적용함. * * "value", "font-family: noto-sans-regular;" -> "font-family: noto-sans-regular;" * "가가","font-family: noto-sans-regular;" -> "" * * @static * @public * @return string * @param value * @param style */ static getColStyle(value: string, style: string) { const pattern = /[가-힣]/; if (!pattern.test(value)) { return style; } else { return ""; } } }