MCPcopy Create free account
hub / github.com/denoland/std / min

Method min

data_structures/binary_search_tree.ts:532–534  ·  view source on GitHub ↗

* Retrieve the lowest (left most) value in the binary search tree, or null if * the tree is empty. * * The complexity of this operation depends on the underlying structure of the * tree. Refer to the documentation of the structure itself for more details. * * @example Finding the m

()

Source from the content-addressed store, hash-verified

530 * @returns The minimum value in the binary search tree, or null if the tree is empty.
531 */
532 min(): T | null {
533 return this.#root ? this.#root.findMinNode().value : null;
534 }
535
536 /**
537 * Retrieve the highest (right most) value in the binary search tree, or null

Callers 15

#resetTtlMethod · 0.80
copyFunction · 0.80
between_test.tsFile · 0.80
#readGenMethod · 0.80
decodeVarint32Function · 0.80
updateMethod · 0.80
serveFileFunction · 0.80
appendFunction · 0.80
parseAcceptEncodingFunction · 0.80
interleaveFunction · 0.80

Calls 1

findMinNodeMethod · 0.80

Tested by

no test coverage detected