resolveTemplaterApi
Gets Templater’s internal API, when Templater is installed, enabled and still the shape this library expects.
Import:
import { resolveTemplaterApi } from 'obsidian-dev-utils/obsidian/templater';Signature:
function resolveTemplaterApi(app: App): TemplaterApi | nullParameters:
| Parameter | Type | Description |
|---|---|---|
app | App | The Obsidian app instance. |
Returns: TemplaterApi | null — The internal API, or null when Templater is not there to talk to.
Links to this page: