0.2.0 • Published 10 years ago
array-control v0.2.0
Array-Control
array-control will extend Array.prototype with these useful functions
Array::copy()
Array::hasObject(object)
Array::hasAnyOfObjects(object)
Array::hasAllOfObjects(object)
Array::addObject(object)
Array::addObjects(objects)
Array::insertObjectAtIndex(object,index)
Array::removeObject(object) // removes ALL occurencies of object
Array::removeObjects(objects) // removes ALL occurencies of objects
Array::removeFirstObject(object)
Array::removeLastObject(object)