Function stackItemIsTruthy

  • Returns true if the provided stack item is "truthy" in the sense required by several operations (anything but zero and "negative zero").

    The Satoshi implementation calls this method CastToBool.

    Parameters

    • item: Uint8Array

      the stack item to check for truthiness

    Returns boolean

Generated using TypeDoc