Skip to content

hasAngleBrackets

Tests whether a link uses angle brackets, possibly embed: [title](<link>), ![title](<link>).

Import:

import { hasAngleBrackets } from '@mnaoumov/obsidian-lib/link';

Signature:

function hasAngleBrackets(link: string): boolean

Parameters:

Parameter Type Description
link string Link to test

Returns: boolean — Whether the link uses angle brackets