-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): add
contains
operator for template strings
The `contains` operator can be used to see if an array contains a value, an object contains a key, or if a string contains another string. Examples: * `${var.some-array contains "some-value"}` checks if the `var.some-array` array includes the string `"some-value"`. * `${var.some-string contains "some"}` checks if the `var.some-string` string includes the string `"some"`. * `${var.some-object contains "some-key"}` checks if the `var.some-object` object includes the key `"some-key"`.
- Loading branch information
Showing
3 changed files
with
153 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters