Skip to content

AsyncReplacer<CapturedGroupArguments>

A synchronous/asynchronous function that generates replacement strings, or a string to replace with.

Import:

import type { AsyncReplacer } from 'obsidian-dev-utils/string';

Signature:

export type AsyncReplacer<CapturedGroupArguments extends string[]>

Signature:

type AsyncReplacer<CapturedGroupArguments> = ValueProvider<StringReplacement, ReplaceArguments<CapturedGroupArguments>>

Type: ValueProvider<StringReplacement, ReplaceArguments<CapturedGroupArguments>>


Links to this page: