top static method

bool top(
  1. List<String> stack,
  2. String symbol
)

Implementation

static bool top(List<String> stack, String symbol) {
  return true; //Objects.equals(stack.peek(), symbol);
}