• 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.