Difference between revisions of "API Tree.CheckParent"
From Flowcode Help
Jump to navigationJump to searchLine 18: | Line 18: | ||
==Detailed description== | ==Detailed description== | ||
− | + | ||
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> | ||
− | |||
− |
Latest revision as of 11:55, 16 January 2023
![]() |
CheckParent |
Returns true if the object has a parent, else false if it is the root | |
![]() |
Object |
The object to check for a parent | |
![]() |
Return |
Detailed description
Examples
Calling in a calculation
- Declare a variable 'result' of type BOOL
- Add to a calculation icon:
result = ::Tree.CheckParent(object)