@gettoor/core / rejectUnknownPlaceholders
Function: rejectUnknownPlaceholders()
rejectUnknownPlaceholders(
text:string,expectedPlaceholders:string[]):void
Rejects unknown placeholders in a string.
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | The text to reject unknown placeholders in. |
expectedPlaceholders | string[] | The expected placeholders in the text. |
Returns
void