Skip to content

hasWikilinkSyntax

Tests whether a link is a wikilink, possibly embed: [[link]], ![[link]].

Import:

import { hasWikilinkSyntax } from 'obsidian-dev-utils/obsidian/link';

Signature:

function hasWikilinkSyntax(link: string): boolean

Parameters:

ParameterTypeDescription
linkstringLink to test

Returns: boolean — Whether the link is a wikilink


Links to this page: