getBacklinksForFileSafe
Retrieves the backlinks for a file safely.
Import:
import { getBacklinksForFileSafe } from 'obsidian-dev-utils/obsidian/metadata-cache';Signature:
function getBacklinksForFileSafe(params: GetBacklinksForFileSafeParams): Promise<CustomArrayDict<Reference>>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | GetBacklinksForFileSafeParams | The parameters for retrieving the backlinks. |
Returns: Promise<CustomArrayDict<Reference>> — A Promise that resolves to an array dictionary of backlinks.
Links to this page: