MCPcopy
hub / github.com/bcoin-org/bcoin / isOpcode

Method isOpcode

lib/script/opcode.js:668–670  ·  view source on GitHub ↗

* Test whether an object an Opcode. * @param {Object} obj * @returns {Boolean}

(obj)

Source from the content-addressed store, hash-verified

666 */
667
668 static isOpcode(obj) {
669 return obj instanceof Opcode;
670 }
671}
672
673/*

Callers 5

setMethod · 0.80
pushMethod · 0.80
unshiftMethod · 0.80
insertMethod · 0.80
equalsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected