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

Method min

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

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