IsString returns true if the YAML node is a string.
(node *yaml.Node)
| 60 | |
| 61 | // IsString returns true if the YAML node is a string. |
| 62 | func (YAMLHelper) IsString(node *yaml.Node) bool { |
| 63 | return isTypeTag(node, yamlString) |
| 64 | } |
| 65 | |
| 66 | // IsBool returns true if the YAML node is a boolean. |
| 67 | func (YAMLHelper) IsBool(node *yaml.Node) bool { |