var function

Returns the value stored within a specified variable.

Syntax

var(variable_name)

Arguments

variable_name → variable name

Example

 var('qgis_version') → '2.12'