Constructor
new LengthAction()
- Source:
Examples
// Find the length of a property (array or string)
{
"length": {
"of": {"property": "myArrayOrStringProperty"},
"as": "myResultVariableName"
}
}
// Find the length of a property (array or string), on a non selected property
{
"length": {
"of": {"property": "myConcept.myArrayOrStringProperty"},
"as": "myResultVariableName"
}
}
// Find the length of a variable (array or string)
{
"length": {
"of": {"variable": "myArrayOrStringVariable"},
"as": "myResultVariableName"
}
}
// Shorthand, set the variable "length" to the length of the property "myProperty"
{
"length": "myProperty"
}
// Shorthand, set the variable "length" to the length of the variable "myVariable"
{
"length": "$myVariable"
}