Skip to content

getLinks

Retrieves the selected links from the provided cache.

Import:

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

Signature:

function getLinks(params: GetLinksParams): Reference[]

Parameters:

ParameterTypeDescription
paramsGetLinksParamsThe parameters for retrieving the links.

Returns: Reference[] — An array of references representing the selected links.


Links to this page: