Skip to content

GetBacklinksForFileSafeWrapper.safe method

GetBacklinksForFileSafeWrapper › safe

Retrieves the backlinks for a file safely.

Signature:

safe(pathOrFile: PathOrFile): Promise<CustomArrayDict<Reference>>

Parameters:

ParameterTypeDescription
pathOrFilePathOrFileThe path or file object.

Returns: Promise<CustomArrayDict<Reference>>A Promise that resolves to an array dictionary of backlinks.