package com.changhong.epc.rely.api.tool.power.function; import com.googlecode.aviator.runtime.type.AviatorBoolean; import com.googlecode.aviator.runtime.type.AviatorObject; import com.iemsoft.framework.cloud.core.tools.ObjectUtil; import java.util.Map; public class Empty extends ShowButtonAbstractFunction { @Override public AviatorObject call(Map env, AviatorObject arg1) { return AviatorBoolean.valueOf( ObjectUtil.empty(getMainInfo(env, arg1.stringValue(env))) ); } @Override public String getName() { return "empty"; } }