NodeFire Library

core  1.0.6

NodeFire Library > core > NF.util.array
Search:
 
Filters

static Class NF.util.array

Provides extended features for working with Arrays.

Methods

indexOf

int indexOf ( string , arrayItem )
Get the index of an item in an Array.
Parameters:
string <Array> The array to search.
arrayItem <arrayItem> The item to find.
Returns: int
Index of item or -1.

removeItem

Array removeItem ( string , arrayItem )
Searches an array for an item matching the arrayItem paramter and removes it.
Parameters:
string <Array> The array to search.
arrayItem <arrayItem> The item to look for and remove from the array.
Returns: Array
The modified Array.


Copyright © 2012 OpenCube: Inc. All rights reserved.