applyLabelReplacements
Applies the provided replacements to the given label.
Presentation
function applyLabelReplacements (
label: string,
replacements: LmnLabelReplacements ,
replacementDelimiters: [string, string] = ["{", "}"],
): string;
Returns
string
-The label with the replacements applied.
Parameters
Name | Type | Description |
---|---|---|
label | string | @param label The label to which to apply the replacements. |
replacements |
| @param replacements The replacements to be applied. |
replacementDelimiters | [string, string] | @param replacementDelimiters The delimiters with which the parts to be replaced are padded in the label. Defaults to { }. |