DirectoryWatcher.IsRecursive
Returns whether the watcher monitors subfolders.
Syntax
DirectoryWatcher.IsRecursive(watcher: any) -> boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
watcher | any | The watcher value used by the call. |
Returns
| Type | Description |
|---|---|
boolean | Whether the watcher monitors subfolders |
Description
DirectoryWatcher.IsRecursive is part of the DirectoryWatcher library. Win32 directory monitoring for folders inside the Yuari workspace.
The call is a predicate: it inspects the current state and returns a boolean without modifying anything.
Example
print(watcher:IsRecursive())
Notes
- Only folders inside the Yuari workspace can be watched; stop watchers when they are no longer needed.