Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bcoin-org/bcoin
/ removeBool
Method
removeBool
lib/script/script.js:2947–2950 ·
view source on GitHub ↗
(index)
Source
from the content-addressed store, hash-verified
2945
}
2946
2947
removeBool(index) {
2948
const
op = this.remove(index);
2949
return
op ? op.toBool() : false;
2950
}
2951
2952
setBool(index, value) {
2953
return
this.set(index, Opcode.fromBool(value));
Callers
nothing calls this directly
Calls
2
remove
Method · 0.95
toBool
Method · 0.45
Tested by
no test coverage detected