MCPcopy Create free account
hub / github.com/cel-expr/cel-go / IsNull

Method IsNull

policy/yaml.go:72–74  ·  view source on GitHub ↗

IsNull returns true if the YAML node is a null.

(node *yaml.Node)

Source from the content-addressed store, hash-verified

70
71// IsNull returns true if the YAML node is a null.
72func (YAMLHelper) IsNull(node *yaml.Node) bool {
73 return isTypeTag(node, yamlNull)
74}
75
76// IsNumber returns true if the YAML node is a number.
77func (YAMLHelper) IsNumber(node *yaml.Node) bool {

Callers 1

TestYAMLHelperFunction · 0.95

Calls 1

isTypeTagFunction · 0.85

Tested by 1

TestYAMLHelperFunction · 0.76