Back to functions

nerdamer.getVars


getVars

Gets all previously set variables.

Usage: nerdamer.getVars(option)


Parameters

String option Use "LaTeX" to get as LaTeX. Defaults to text.

Returns

Object

EXAMPLES:
nerdamer.setVar('x', 12);
nerdamer.setVar('y', '1/x/z');
var x = nerdamer.getVars('LaTeX');
console.log(x);
var y = nerdamer.getVars('text');
console.log(y);
OUTPUT:
Back to functions