IsBool returns true if the YAML node is a boolean.
(node *yaml.Node)
| 65 | |
| 66 | // IsBool returns true if the YAML node is a boolean. |
| 67 | func (YAMLHelper) IsBool(node *yaml.Node) bool { |
| 68 | return isTypeTag(node, yamlBool) |
| 69 | } |
| 70 | |
| 71 | // IsNull returns true if the YAML node is a null. |
| 72 | func (YAMLHelper) IsNull(node *yaml.Node) bool { |