ResourceLockComponent.isLockedForPath method
ResourceLockComponent › isLockedForPath
Checks whether the note at the given path is currently locked by any plugin.Signature:
isLockedForPath(pathOrFile: PathOrFile): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| pathOrFile | PathOrFile | The path or file of the note to check. |
Returns: boolean — true if the note has at least one active lock, false otherwise.