match method

bool match(
  1. Script other
)

Returns true if the script matches another, including a script containing a ScriptPushDataMatcher.

Implementation

bool match(Script other)
  => ops.length == other.ops.length
  && IterableZip([ops, other.ops]).every((pair) => pair[0].match(pair[1]));