
## Find {#find}

Finds a task which satisfy the condition in a tree of tasks.

**Returns:** Task if task was found, otherwise null.

```cpp
Find(const System::SharedPtr< Task > & root, const System::SharedPtr< ICondition < System::SharedPtr< Task >>> & cond)
```

| Parameter | Description |
| --- | --- |
| root | Root of the tree. |
| cond | Applied condition. |

