Skip to content

AsyncReplacer<CapturedGroupArgs>

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<CapturedGroupArgs extends string[]>

Signature:

type AsyncReplacer<CapturedGroupArgs> = ValueProvider<StringReplacement, ReplaceArgs<CapturedGroupArgs>>

Type: ValueProvider<StringReplacement, ReplaceArgs<CapturedGroupArgs>>


Links to this page: