Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bcoin-org/bcoin
/ shiftInt
Method
shiftInt
lib/script/script.js:2902–2905 ·
view source on GitHub ↗
(minimal, limit)
Source
from the content-addressed store, hash-verified
2900
}
2901
2902
shiftInt(minimal, limit) {
2903
const
op = this.shift();
2904
return
op ? op.toInt(minimal, limit) : -1;
2905
}
2906
2907
removeInt(index, minimal, limit) {
2908
const
op = this.remove(index);
Callers
nothing calls this directly
Calls
2
shift
Method · 0.95
toInt
Method · 0.45
Tested by
no test coverage detected