1.20.x evalmath.inc EvalMathStack::last($n = 1)

File

includes/evalmath.inc, line 382

Class

EvalMathStack

Code

function last($n = 1) {
  return !empty($this->stack[$this->count -$n]) ? $this->stack[$this->count -$n] : NULL;
}