<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`resolveSubpath`](resolveSubpath) ## resolveSubpath() function Resolve the given subpath to a reference in the MetadataCache. **Signature:** ```typescript export function resolveSubpath(cache: CachedMetadata, subpath: string): HeadingSubpathResult | BlockSubpathResult | FootnoteSubpathResult | null; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>cache</code> | [`CachedMetadata`](CachedMetadata) | | | <code>subpath</code> | <code>string</code> | | **Returns:** [`HeadingSubpathResult`](HeadingSubpathResult)` | `[`BlockSubpathResult`](BlockSubpathResult)` | `[`FootnoteSubpathResult`](FootnoteSubpathResult)` | null`