Built-In Namespace: Array
Instance Methods
- copy(deep)
- indexOf(object, startAt)
- lastIndexOf(object, startAt)
- replace(idx, amt, objects)
- uniq()
- unknownProperty(key, value)
Instance Method Detail
copy(deep)
Override to return a copy of the receiver. Default implementation raises an exception.
Defined in: copyable.js.
- Parameters:
- deep
- {Boolean} if true, a deep copy of the object should be made
- Returns:
- Object
- copy of receiver
indexOf(object, startAt)
Returns the index for a particular object in the index.
Defined in: array.js.
Defined in: array.js.
- Parameters:
- object Object
- the item to search for
- startAt Number
- optional starting location to search, default 0
- Returns:
- Number
- index of -1 if not found
lastIndexOf(object, startAt)
Returns the last index for a particular object in the index.
Defined in: array.js.
Defined in: array.js.
- Parameters:
- object Object
- the item to search for
- startAt Number
- optional starting location to search, default 0
- Returns:
- Number
- index of -1 if not found
replace(idx, amt, objects)
Defined in: array.js.
- Parameters:
- idx
- amt
- objects
uniq()
Defined in: utils.js.
unknownProperty(key, value)
Defined in: array.js.
- Parameters:
- key
- value
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)