001    /**
002     * Implements the CFML Function structisempty
003     */
004    package railo.runtime.functions.struct;
005    
006    import railo.runtime.PageContext;
007    import railo.runtime.ext.function.Function;
008    import railo.runtime.type.Struct;
009    
010    public final class StructIsEmpty implements Function {
011            public static boolean call(PageContext pc , Struct struct) {
012                    return struct.size()==0;
013            }
014    }