The string to check.
The range to check.
Optional
options: { The options for applying placeholders. Optional.
Optional
allThe list of all placeholders (custom and default). Provide this if you have a single list of all placeholders.
Optional
customThe list of custom (user-defined) placeholders. Provide this if you have a separate list of custom placeholders.
Optional
defaultThe list of default placeholders. Provide this if you have customized the order of default placeholders or added additional defaults.
Optional
strict?: booleanWhether to only include placeholders that are surrounded by double curly braces and match the placeholder regex. Defaults to false (will include placeholders that are not surrounded by double curly braces).
The list of placeholders contained within the range.
Generated using TypeDoc
Checks if a string contains placeholders in a given range.