      *                     assumes 0.
      * @return The index of the first member to return true, or -1 if none did.
      */
-    public static function indexOf(array:Array, boolFunction:Function = null, startIndex:int = 0):int
+    public static function indexOf(array:*, boolFunction:Function = null, startIndex:int = 0):int
     {
         var i:int;
         if (!array) return -1;

     */
    public static function simpleCallback(closure:Function):Function
    {
        function callback(item:*, index:int, array:Array):*
        {
            return closure(item);
        }

     *                     that cast to <code>Boolean</code> as <code>true</code>.
     * @return The number of calls to <code>boolFunction</code> that returned <code>true</code>
     */
    public static function count(array:*, boolFunction:Function = null):int
    {
        var i:int;
        var result:int;
