The string to check.
Optional
options: { The options for applying placeholders.
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 Placeholder objects.
Generated using TypeDoc
Gets a list of placeholders that are included in a string.