MisplacedAttachmentIndex.isProperNote method
MisplacedAttachmentIndex › isProperNote
Whether a note is a proper note of an attachment: it references it, and its own folder holds it.Signature:
isProperNote(attachmentPath: string, notePath: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| attachmentPath | string | The attachment's vault-relative path. |
| notePath | string | The note's vault-relative path. |
Returns: boolean — true when the note's own attachment folder holds the attachment.