Documentation · ViewHelper reference

XSD schema file | vhs 2.1.4

Condition / Type / IsBooleanViewHelper

Condition: Type of value is a boolean

Condition ViewHelper which renders the then child if type of provided value is a boolean.

  • Tag usage example

    <v:condition.type.isBoolean then="[mixed]" else="[mixed]" value="[mixed]">
    	<!-- tag content - may be ignored! -->
  • Inline usage example

    {v:condition.type.isBoolean(then: [mixed], else: [mixed], value: [mixed])}


Argument Description Type

Value to be returned if the condition if not met.


Value to be returned if the condition if met.

value mixed
Required attribute

Revision history

commit 996a42e83948e37293cf27d52bb0223f7bea5259
Author: Philipp Maier <*****>
Date:   Mon Oct 6 21:35:24 2014 +0200

    [FEATURE] Add isBoolean ViewHelper

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to file