001 /** 002 * Implements the Cold Fusion Function structkeyarray 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.Array; 009 import railo.runtime.type.KeyImpl; 010 011 public final class StructKeyArray implements Function { 012 public static Array call(PageContext pc , railo.runtime.type.Struct struct) { 013 return KeyImpl.toArray(struct.keys()); 014 } 015 }