Skip to content

UnlockActiveNoteCommandHandler.canExecute method

UnlockActiveNoteCommandHandler › canExecute

Checks whether the command can currently execute: only when there is an active note covered by a lock (directly or by a subtree-locked ancestor folder).

Signature:

canExecute(): boolean

Returns: booleanWhether the active note is locked.