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

Method LeftIsNil

project_euler/problem_18/root.go:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (n *Root) LeftIsNil() bool {
53 return n.NodeLeft == nil
54}
55
56func (n *Root) RightIsNil() bool {
57 return n.NodeRight == nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected