ReplaceAllAsyncParams<ReplaceGroupArguments>
Parameters for replaceAllAsync.
Import:
import type { ReplaceAllAsyncParams } from 'obsidian-dev-utils/string';Signature:
export interface ReplaceAllAsyncParams<ReplaceGroupArguments extends string[]>Properties
| Property | Type | Description |
|---|---|---|
| $string | string | The string in which to perform replacements. |
| abortSignal? | AbortSignal | The abort signal to control the execution of the function. |
| replacer | AsyncReplacer<ReplaceGroupArguments> | A synchronous/asynchronous function that generates replacement strings, or a string to replace with. |
| searchValue | RegExp | string | The string or regular expression to search for. |
Links to this page: