...
Parameter name | Type | Required | Description |
---|---|---|---|
arrayName | array | Yes | The array from which Array the new element is deleted from. |
elem | any | Yes | The element Element to be deleted. Must be the same type as the array type. |
Return Type
array
Example
Code Block |
---|
watchers = deleteElement(watchers, currentUser()); |
...