Jump to content

API Tree.CheckParent: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 18: Line 18:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
 




Line 25: Line 25:
* Declare a variable 'result' of type BOOL
* Declare a variable 'result' of type BOOL
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Tree.CheckParent(object)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Tree.CheckParent(object)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:55, 16 January 2023

CheckParent
Returns true if the object has a parent, else false if it is the root 
- HANDLE Object
The object to check for a parent 
- BOOL Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Tree.CheckParent(object)