servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient sWordList MobileClient
servoy sSummary 12% 30% 58% height: 30px; 3 Property Summary Get an element by index. Get the length of the array.
servoy sSummary 12% 30% 58% height: 30px; 3 Methods Summary Returns a new array comprised of this array joined with other array(s) and/or value(s). Returns a new array comprised of this array joined with other array(s) and/or value(s). Returns a new array comprised of this array joined with other array(s) and/or value(s). Runs a function on items in the array while that function is returning true. Runs a function on items in the array while that function is returning true. Runs a function on every item in the array and returns an array of all items for which the function returns true. Runs a function on every item in the array and returns an array of all items for which the function returns true. void Runs a function (callback) on every item in the array. void Runs a function (callback) on every item in the array. Returns the first index at which a given element can be found in the array, or -1 if it is not present. Returns the first index at which a given element can be found in the array, or -1 if it is not present. Checks whether an object is an array or not. Puts all elements in the array into a string, separating each element with the specified delimiter Returns the last index at which a given element can be found in the array, or -1 if it is not present. Returns the last index at which a given element can be found in the array, or -1 if it is not present. Runs a function on every item in the array and returns the results in an array. Runs a function on every item in the array and returns the results in an array. Pops the last string off the array and returns it. Mutates an array by appending the given elements and returning the new length of the array. Mutates an array by appending the given elements and returning the new length of the array. Mutates an array by appending the given elements and returning the new length of the array. Reduces the array to a single value by executing a provided function for each value of the array (from left-to-right). Puts array elements in reverse order. Decreases array element size by one by shifting the first element off the array and returning it. The slice method creates a new array from a selected section of an array. The slice method creates a new array from a selected section of an array. Runs a function on items in the array while that function returns false. Runs a function on items in the array while that function returns false. Sorts the array elements in dictionary order or using a compare function passed to the method. Sorts the array elements in dictionary order or using a compare function passed to the method. It is used to take elements out of an array and replace them with those specified. It is used to take elements out of an array and replace them with those specified. It is used to take elements out of an array and replace them with those specified. It is used to take elements out of an array and replace them with those specified. Places element data at the start of an array.
property servoy sDetail 2 100% height:30px 2 Property Details [index] name [index] des sIndent Get an element by index. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow length name length des sIndent Get the length of the array. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow
function servoy sDetail 2 100% height:30px 2 Methods Details concat name concat(value1) des sIndent Returns a new array comprised of this array joined with other array(s) and/or value(s). prs Parameters
sIndent value1 ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow concat name concat(value1, value2) des sIndent Returns a new array comprised of this array joined with other array(s) and/or value(s). prs Parameters
sIndent value1   ; value2   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow concat name concat(value1, value2, valueN) des sIndent Returns a new array comprised of this array joined with other array(s) and/or value(s). prs Parameters
sIndent value1   ; value2   ; valueN   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow every name every(callback) des sIndent Runs a function on items in the array while that function is returning true. It returns true if the function returns true for every item it could visit.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow every name every(callback, thisObject) des sIndent Runs a function on items in the array while that function is returning true. It returns true if the function returns true for every item it could visit.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; thisObject   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow filter name filter(callback) des sIndent Runs a function on every item in the array and returns an array of all items for which the function returns true.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow filter name filter(callback, thisObject) des sIndent Runs a function on every item in the array and returns an array of all items for which the function returns true.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; thisObject ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow forEach name forEach(callback) des sIndent Runs a function (callback) on every item in the array. The callback function is invoked only for indexes of the array which have assigned values.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow forEach name forEach(callback, thisObject) des sIndent Runs a function (callback) on every item in the array. The callback function is invoked only for indexes of the array which have assigned values.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; thisObject   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow indexOf name indexOf(searchElement) des sIndent Returns the first index at which a given element can be found in the array, or -1 if it is not present. prs Parameters
sIndent searchElement   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow indexOf name indexOf(searchElement, fromIndex) des sIndent Returns the first index at which a given element can be found in the array, or -1 if it is not present. prs Parameters
sIndent searchElement   ; fromIndex   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow isArray name isArray(obj) des sIndent Checks whether an object is an array or not. prs Parameters
sIndent obj   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow join name join(delimiter) des sIndent Puts all elements in the array into a string, separating each element with the specified delimiter prs Parameters
sIndent delimiter   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow lastIndexOf name lastIndexOf(searchElement) des sIndent Returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex. prs Parameters
sIndent searchElement   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow lastIndexOf name lastIndexOf(searchElement, fromIndex) des sIndent Returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex. prs Parameters
sIndent searchElement   ; fromIndex   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow map name map(callback) des sIndent Runs a function on every item in the array and returns the results in an array.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow map name map(callback, thisObject) des sIndent Runs a function on every item in the array and returns the results in an array.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; thisObject   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow pop name pop() des sIndent Pops the last string off the array and returns it. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow push name push(value1) des sIndent Mutates an array by appending the given elements and returning the new length of the array. prs Parameters
sIndent value1   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow push name push(value1, value2) des sIndent Mutates an array by appending the given elements and returning the new length of the array. prs Parameters
sIndent value1   ; value2   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow push name push(value1, value2, valueN) des sIndent Mutates an array by appending the given elements and returning the new length of the array. prs Parameters
sIndent value1 value2 valueN length of the array. prs Parameters
sIndent value1 ; value2 ; valueN ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow reduce name reduce(f, initialValue) des sIndent Reduces the array to a single value by executing a provided function for each value of the array (from left-to-right). prs Parameters
sIndent f Function to execute on each element in the array, taking four arguments: -accumulator: accumulates the callback's return values; it is the accumulated value previously returned in the last invocation of the callback, or initialValue, if supplied (see below). -currentValue: the current element being processed in the array. -currentIndex (Optional): the index of the current element being processed in the array (starts at index 0, if an initialValue is provided, and at index 1 otherwise) -array (Optional): the array reduce() was called upon. initialValue Value to use as the first argument to the first call of the callback. If no initial value is supplied, the first element in the array will be used. ret Returns
sIndent Object clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow reverse name reverse() des sIndent Puts array elements in reverse order. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow shift name shift() des sIndent Decreases array element size by one by shifting the first element off the array and returning it. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow slice name slice(begin) des sIndent The slice method creates a new array from a selected section of an array. prs Parameters
sIndent begin   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow slice name slice(begin, end) des sIndent The slice method creates a new array from a selected section of an array. prs Parameters
sIndent begin   ; end   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow some name some(callback) des sIndent Runs a function on items in the array while that function returns false. It returns true if the function returns true for any item it could visit.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow some name some(callback, thisObject) des sIndent Runs a function on items in the array while that function returns false. It returns true if the function returns true for any item it could visit.
The callback function is invoked with three arguments: the element value, the element index, the array being traversed. prs Parameters
sIndent callback   ; thisObject   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow sort name sort() des sIndent Sorts the array elements in dictionary order or using a compare function passed to the method. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow sort name sort(function) des sIndent Sorts the array elements in dictionary order or using a compare function passed to the method. prs Parameters
sIndent function   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow splice name splice(arrayIndex, length) des sIndent It is used to take elements out of an array and replace them with those specified. prs Parameters
sIndent arrayIndex   ; length   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow splice name splice(arrayIndex, length, value1) des sIndent It is used to take elements out of an array and replace them with those specified. prs Parameters
sIndent arrayIndex   ; length   ; value1   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow splice name splice(arrayIndex, length, value1, value2) des sIndent It is used to take elements out of an array and replace them with those specified. prs Parameters
sIndent arrayIndex   ; length   ; value1   ; value2   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow splice name splice(arrayIndex, length, value1, value2, valueN) des sIndent It is used to take elements out of an array and replace them with those specified. prs Parameters
sIndent arrayIndex   ; length   ; value1   ; value2   ; valueN   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow unshift name unshift(value1, value2, valueN) des sIndent Places element data at the start of an array. prs Parameters
sIndent value1   ; value2   ; valueN   ; ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow