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

Method min

data_structures/binary_search_tree.ts:510–512  ·  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

508 * @returns The minimum value in the binary search tree, or null if the tree is empty.
509 */
510 min(): T | null {
511 return this.#root ? this.#root.findMinNode().value : null;
512 }
513
514 /**
515 * 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
serveFileFunction · 0.80
appendFunction · 0.80
parseAcceptEncodingFunction · 0.80
interleaveFunction · 0.80
handlePromptSelectFunction · 0.80

Calls 1

findMinNodeMethod · 0.80

Tested by

no test coverage detected