Skip to content

getReferences

Retrieves the selected references (links, embeds, frontmatter links and the opted-in extras) from the provided cache.

Import:

import { getReferences } from '@mnaoumov/obsidian-lib/metadata-cache';

Signature:

function getReferences(params: GetReferencesParams): Reference[]

Parameters:

Parameter Type Description
params GetReferencesParams The parameters for retrieving the references.

Returns: Reference[] — The selected references.


Links to this page: