Constructor
new PrependAction()
- Source:
Examples
// Prepend a string item to an array inside a property
{
"prepend": {
"to": {"property": "myStringArrayProperty"},
"item": "myStringItem"
}
}
// Prepend a string item to an array inside a property, on a non selected concept
{
"prepend": {
"to": {"property": "myConcept.myStringArrayProperty"},
"item": "myStringItem"
}
}
// Prepend a string item to an array inside a variable
{
"prepend": {
"to": {"variable": "myStringArrayVariable"},
"item": "myStringItem"
}
}
// Prepend a number of string items to an array inside a variable
{
"prepend": {
"to": {"variable": "myStringArrayVariable"},
"items": ["myStringItem1", "myStringItem2"]
}
}