MCPcopy Index your code
hub / github.com/bcoin-org/bcoin / getBool

Method getBool

lib/script/script.js:2932–2935  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

2930 */
2931
2932 getBool(index) {
2933 const op = this.get(index);
2934 return op ? op.toBool() : false;
2935 }
2936
2937 popBool() {
2938 const op = this.pop();

Callers 2

executeMethod · 0.45
verifyProgramMethod · 0.45

Calls 2

getMethod · 0.95
toBoolMethod · 0.45

Tested by

no test coverage detected