isPushOnly
reddcoinjs-lib v7.0.1-rdd.1 • Docs
reddcoinjs-lib v7.0.1-rdd.1 / script / isPushOnly
Function: isPushOnly()
isPushOnly(
value):boolean
Determines if a stack consists of only push operations.
Parameters
• value: Stack
The stack to check.
Returns
boolean
True if all elements in the stack are push-only, false otherwise.