MCPcopy 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

removeMethod · 0.95
toBoolMethod · 0.45

Tested by

no test coverage detected