:navigation-title: condition.variable.isset .. include:: /Includes.rst.txt .. _fluidtypo3-vhs-condition-variable-isset: ==================================================================== condition.variable.isset ViewHelper `` ==================================================================== Variable: Isset =============== Renders the `then` child if the variable name given in the `name` argument exists in the template. The value can be zero, NULL or an empty string - but the ViewHelper will still return TRUE if the variable exists. Combines well with dynamic variable names: :: ... ... {foo -> v:condition.variable.isset(name: bar)} ONLY WORKS ON TYPO3v8+! .. _fluidtypo3-vhs-condition-variable-isset_arguments: Arguments ========= .. _condition.variable.isset_then: then ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Value to be returned if the condition if met. .. _condition.variable.isset_else: else ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Value to be returned if the condition if not met. .. _condition.variable.isset_name: name ---- :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` Name of the variable