(target: string)
| 92 | * note by name (which would fail for an empty name). (#291) |
| 93 | */ |
| 94 | export function isSameFileHeadingLink(target: string): boolean { |
| 95 | return stripWikilinkAnchor(target).trim() === '' && wikilinkHeadingAnchor(target) != null |
| 96 | } |
| 97 | |
| 98 | function resolveExplicitPath(notes: NoteRef[], target: string): NoteRef | null { |
| 99 | const normalized = normalizeSlashes(target.trim()) |
no test coverage detected