i got this error where i used remove()
but i tried remove(null, index) will return null instead of error, so what could cause this error?
Discussion posts and replies are publicly visible
Hi fxzrqjzztrmy,
What do you think the cause of error when you see error message?
fxzrqjzztrmy Can you provide the entire record type expression. seems like there is some error or type mismatch in line 5. please provide the overall expression to understand this.
remove(array, index) Removes the value at the given index from the given array, and returns the resulting array. Returns: List array (List): The array to modify. index (Number (Integer)): The index or array of indices at which the value should be removed (must be >= 1).
As per the function definition it expects an array as first parameter and index of that array as second to remove item on that index. Now if you can share your code where you have used remove function that will be helpful to solve it.