MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / LeftIsNil

Method LeftIsNil

project_euler/problem_18/leaf.go:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func (n *Leaf) LeftIsNil() bool {
66 return n.NodeLeft == nil
67}
68
69func (n *Leaf) RightIsNil() bool {
70 return n.NodeRight == nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected