Yuari
Documentation
Docs/DirectoryWatcher/DirectoryWatcher.IsRecursive

DirectoryWatcher.IsRecursive

Returns whether the watcher monitors subfolders.

Syntax

DirectoryWatcher.IsRecursive(watcher: any) -> boolean

Parameters

ParameterTypeDescription
watcheranyThe watcher value used by the call.

Returns

TypeDescription
booleanWhether 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.