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

Method push

lib/script/stack.js:221–225  ·  view source on GitHub ↗

* Push item onto stack. * @see Array#push * @param {Buffer} item * @returns {Number} Stack size.

(item)

Source from the content-addressed store, hash-verified

219 */
220
221 push(item) {
222 assert(Buffer.isBuffer(item));
223 this.items.push(item);
224 return this;
225 }
226
227 /**
228 * Unshift item from stack.

Callers 15

pushDataMethod · 0.95
pushStringMethod · 0.95
pushNumMethod · 0.95
pushIntMethod · 0.95
pushBoolMethod · 0.95
app.jsFile · 0.45
addItemFunction · 0.45
initMethod · 0.45
parseWalletsFunction · 0.45
accountFromRawFunction · 0.45
reserializeUndoFunction · 0.45
updateAccountFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected