Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/e-oj/Magic-Grid
/ getMin
Function
getMin
src/utils.js:54–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
* @
return
shortest column
53
*/
54
const
getMin = cols => {
55
let
min = cols[0];
56
57
for
(
let
col of cols) {
58
if
(col.height < min.height) min = col;
59
}
60
61
return
min;
62
};
63
64
module.exports = {
65
checkParams,
Callers
1
nextCol
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected