hasLeadingDot
Tests whether a link has a leading dot, possibly embed: [[./link]], [title](./link), [title](<./link>), ![[./link]], , .
Import:
import { hasLeadingDot } from '@mnaoumov/obsidian-lib/link';Signature:
function hasLeadingDot(link: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
link |
string | Link to test |
Returns: boolean — Whether the link has a leading dot