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

File

core/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;
}