Skip to content

GetBacklinksForFileSafeWrapper

Wrapper for the getBacklinksForFile method that provides a safe overload.

Import:

import type { GetBacklinksForFileSafeWrapper } from 'obsidian-dev-utils/obsidian/metadata-cache';

Signature:

export interface GetBacklinksForFileSafeWrapper

Methods

MethodReturnsDescription
safe(pathOrFile)Promise<CustomArrayDict<Reference>>Retrieves the backlinks for a file safely.