Constructor
new RemoveItemAction()
- Source:
Examples
//Remove 1 items starting from index 1 of an array property
{
"removeItem": {
"of": { "property": "myArrayProperty" },
"index": 1,
"as": "myResultVariableName"
}
}
//Remove 2 items starting from index 1 of an array property
{
"removeItem": {
"of": { "property": "myArrayProperty" },
"index": 1,
"removeCount": 2,
"as": "myResultVariableName"
}
}
//Remove 2 items starting from index 1 af an array variable
{
"removeItem": {
"of": { "variable": "myArrayVariable" },
"index": 1,
"removeCount": 2,
"as": "myResultVariableName"
}
}