@jecloud/utils
Version:
JECloud 工具库
1 lines • 341 B
JavaScript
export*from"lodash-es";import{isUndefined as t,isNull as r,isEmpty as s,split as o,isNumber as p,isBoolean as i,isFunction as e}from"lodash-es";export function isEmpty(o,n){return n?t(o)||r(o):!(p(o)||i(o)||e(o))&&s(o)}export function split(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return isEmpty(t[0])?[]:o.apply(this,t)}