MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / Has

Method Has

structure/tree/example_test.go:16–16  ·  view source on GitHub ↗
(T)

Source from the content-addressed store, hash-verified

14 Get(T) (bt.Node[T], bool)
15 Empty() bool
16 Has(T) bool
17 Depth() int
18 Max() (T, bool)
19 Min() (T, bool)

Callers 8

TestRBTreeStringFunction · 0.65
TestBinarySearchFunction · 0.65
TestAVLFunction · 0.65
TestRBFunction · 0.65
TestTreeGetOrHasFunction · 0.65
BenchmarkBSTree_HasFunction · 0.65
BenchmarkRBTree_HasFunction · 0.65
BenchmarkAVLTree_HasFunction · 0.65

Calls

no outgoing calls

Tested by 8

TestRBTreeStringFunction · 0.52
TestBinarySearchFunction · 0.52
TestAVLFunction · 0.52
TestRBFunction · 0.52
TestTreeGetOrHasFunction · 0.52
BenchmarkBSTree_HasFunction · 0.52
BenchmarkRBTree_HasFunction · 0.52
BenchmarkAVLTree_HasFunction · 0.52