You are here

function ctools_math_expr_stack::last in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/math-expr.inc \ctools_math_expr_stack::last()

File

includes/math-expr.inc, line 383

Class

ctools_math_expr_stack

Code

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