slice function slice(Integer start, Integer end, Object array) A function to slice a subarray from an array. Parameters Integer start - start index Integer end - end index Object array - array to retrieve element of Return type Object slice(Integer start, Integer end, Double[] array) A function to slice a subarray from an array. Parameters Integer start - start index Integer end - end index Double[] array - array of doubles to slice Return type Object