Tag
The tag operator can be used to get or set the tag of nodes (e.g. !!str
, !!int
, !!bool
).
Get tag
Given a sample.yml file of:
then
will output
type is an alias for tag
Given a sample.yml file of:
then
will output
Set custom tag
Given a sample.yml file of:
then
will output
Find numbers and convert them to strings
Given a sample.yml file of:
then
will output
Last updated