Important
|
Deprecated in 5.0. Return array with instance values instead. |
Instance(name, displayName, object) => Array
This is helper function for instance filter script. It can be used to return accepted item. This function has named parameters.
name |
String |
Instance name ({instance}) |
displayName |
String |
Instance display name ({instance-name}) |
object |
Related object |
Return
Array, where the first value is true
, the second is name
, the third is displayName
and the forth is object
.
Example
return Instance(displayName: GetInterfaceName($node, $1), object: GetInterfaceObject($node, $1), name: $1); //This will return correctly formatted array to accept instance