Skip to content

hasOwnAttachmentFolder

Checks if a note has its own attachment folder.

Import:

import { hasOwnAttachmentFolder } from 'obsidian-dev-utils/obsidian/attachment-path';

Signature:

function hasOwnAttachmentFolder(params: HasOwnAttachmentFolderParams): Promise<boolean>

Parameters:

ParameterTypeDescription
paramsHasOwnAttachmentFolderParamsParameters for the has own attachment folder function.

Returns: Promise<boolean> — A Promise that resolves to a boolean indicating whether the note has its own attachment folder.


Links to this page: