UNPKG

st-common-core

Version:

小尾巴前端通用核心库

7 lines (6 loc) 198 B
const o = (e) => typeof e == "string", c = (e) => e.length === 0, r = (e) => e.length <= 0 ? 0 : new TextEncoder().encode(e).length; export { r as getByteSizeUtf8, c as isEmpty, o as isStr };