Built-In Namespace Array
Method Attributes | Method Name and Description |
---|---|
contains(element)
Test if the specified element is contained in the array.
|
|
indexOf(element)
Return the index of the specified element in the array.
|
|
remove(element)
Remove the specified element from the array.
|
|
Serialize the array to send the data to a server.
|
Method Detail
{Boolean}
contains(element)
Test if the specified element is contained in the array.
Defined in: zwt.js.
Defined in: zwt.js.
- Parameters:
- {Object} element
- The element to test.
- Returns:
- true/false
{Integer}
indexOf(element)
Return the index of the specified element in the array.
Defined in: zwt.js.
Defined in: zwt.js.
- Parameters:
- {Object} element
- The element to test.
- Returns:
- The index of the element.
remove(element)
Remove the specified element from the array.
Defined in: zwt.js.
Defined in: zwt.js.
- Parameters:
- {Object} element
- The element to remove.
serialize()
Serialize the array to send the data to a server.
Defined in: zwt.js.
Defined in: zwt.js.